MySQL Create Table SQL
Table Structure: okayapi_opms_pms_projects_needs:/tablelist/okayapi_opms_pms_projects_needs.html
-- MySQL Table okayapi_opms_pms_projects_needs
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_projects_needs` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`projectid` bigint(20) NULL COMMENT '项目ID',
`userid` bigint(20) NULL COMMENT '创建人',
`okayapi_opms_pms_projects_needs_name` varchar(100) NULL COMMENT '需求名称',
`okayapi_opms_pms_projects_needs_desc` text NULL COMMENT '描述',
`acceptid` bigint(20) NULL COMMENT '指派人userid',
`okayapi_opms_pms_projects_needs_source` tinyint(2) NULL DEFAULT '0' COMMENT '来源1客户,2用户,3产品经理,4市场,5客服,6竞争对手,7合作伙伴,8开发人员,9测试人员,10其他',
`acceptance` text NULL COMMENT '验收标准',
`okayapi_opms_pms_projects_needs_level` tinyint(1) NULL DEFAULT '4' COMMENT '优先级1,2,3,4',
`tasktime` tinyint(4) NULL COMMENT '预计工时',
`attachment` varchar(255) NULL COMMENT '附件',
`created` int(10) NULL COMMENT '',
`okayapi_opms_pms_projects_needs_changed` int(10) NULL COMMENT '',
`stage` tinyint(1) NULL DEFAULT '1' COMMENT '1未开始,2已计划,3已立项,4研发中,5研发完毕,6测试中,7测试完毕,8已验收,9已发布',
`okayapi_opms_pms_projects_needs_status` tinyint(1) NULL DEFAULT '1' COMMENT '1草稿,2激活,3已变更,4待关闭,5已关闭',
KEY `projectid` (`projectid`),
KEY `userid` (`userid`),
KEY `okayapi_opms_pms_projects_needs_name` (`okayapi_opms_pms_projects_needs_name`),
KEY `okayapi_opms_pms_projects_needs_desc` (`okayapi_opms_pms_projects_needs_desc`),
KEY `acceptid` (`acceptid`),
KEY `okayapi_opms_pms_projects_needs_source` (`okayapi_opms_pms_projects_needs_source`),
KEY `acceptance` (`acceptance`),
KEY `okayapi_opms_pms_projects_needs_level` (`okayapi_opms_pms_projects_needs_level`),
KEY `tasktime` (`tasktime`),
KEY `attachment` (`attachment`),
KEY `created` (`created`),
KEY `okayapi_opms_pms_projects_needs_changed` (`okayapi_opms_pms_projects_needs_changed`),
KEY `stage` (`stage`),
KEY `okayapi_opms_pms_projects_needs_status` (`okayapi_opms_pms_projects_needs_status`),
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-14 of 14 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
projectid | bigint(20) | 是 | 项目ID | |||
userid | bigint(20) | 是 | 创建人 | |||
okayapi_opms_pms_projects_needs_name | varchar(100) | 是 | 需求名称 | |||
okayapi_opms_pms_projects_needs_desc | text | 是 | 描述 | |||
acceptid | bigint(20) | 是 | 指派人userid | |||
okayapi_opms_pms_projects_needs_source | tinyint(2) | 0 | 是 | 来源1客户,2用户,3产品经理,4市场,5客服,6竞争对手,7合作伙伴,8开发人员,9测试人员,10其他 | 0 | |
acceptance | text | 是 | 验收标准 | |||
okayapi_opms_pms_projects_needs_level | tinyint(1) | 4 | 是 | 优先级1,2,3,4 | 4 | |
tasktime | tinyint(4) | 是 | 预计工时 | |||
attachment | varchar(255) | 是 | 附件 | |||
created | int(10) | 是 | ||||
okayapi_opms_pms_projects_needs_changed | int(10) | 是 | ||||
stage | tinyint(1) | 1 | 是 | 1未开始,2已计划,3已立项,4研发中,5研发完毕,6测试中,7测试完毕,8已验收,9已发布 | 1 | |
okayapi_opms_pms_projects_needs_status | tinyint(1) | 1 | 是 | 1草稿,2激活,3已变更,4待关闭,5已关闭 | 1 |