MySQL Create Table SQL
Table Structure: okayapi_opms_pms_oagoods:/tablelist/okayapi_opms_pms_oagoods.html
-- MySQL Table okayapi_opms_pms_oagoods
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_oagoods` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(20) NULL COMMENT '',
`purpose` varchar(100) NULL COMMENT '物品用途',
`okayapi_opms_pms_oagoods_names` varchar(8) NULL COMMENT '物品名称串',
`quantitys` varchar(200) NULL COMMENT '数量串',
`content` varchar(1000) NULL COMMENT '详情',
`picture` varchar(100) NULL COMMENT '1同',
`result` tinyint(1) NULL COMMENT '1同意2拒绝',
`okayapi_opms_pms_oagoods_status` tinyint(1) NULL DEFAULT '1' COMMENT '1草稿2正常发布',
`approverids` varchar(200) NULL COMMENT '审批人串',
`created` int(10) NULL COMMENT '',
`okayapi_opms_pms_oagoods_changed` int(10) NULL COMMENT '',
KEY `userid` (`userid`),
KEY `purpose` (`purpose`),
KEY `okayapi_opms_pms_oagoods_names` (`okayapi_opms_pms_oagoods_names`),
KEY `quantitys` (`quantitys`),
KEY `content` (`content`),
KEY `picture` (`picture`),
KEY `result` (`result`),
KEY `okayapi_opms_pms_oagoods_status` (`okayapi_opms_pms_oagoods_status`),
KEY `approverids` (`approverids`),
KEY `created` (`created`),
KEY `okayapi_opms_pms_oagoods_changed` (`okayapi_opms_pms_oagoods_changed`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'OPMS和OA管理-物品领用表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-11 of 11 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
userid | bigint(20) | 是 | ||||
purpose | varchar(100) | 是 | 物品用途 | |||
okayapi_opms_pms_oagoods_names | varchar(8) | 否 | 物品名称串 | |||
quantitys | varchar(200) | 是 | 数量串 | |||
content | varchar(1000) | 是 | 详情 | |||
picture | varchar(100) | 是 | 1同 | |||
result | tinyint(1) | 是 | 1同意2拒绝 | |||
okayapi_opms_pms_oagoods_status | tinyint(1) | 1 | 是 | 1草稿2正常发布 | 1 | |
approverids | varchar(200) | 是 | 审批人串 | |||
created | int(10) | 是 | ||||
okayapi_opms_pms_oagoods_changed | int(10) | 是 |