MySQL Create Table SQL
Table Structure: okayapi_opms_pms_projects_doc:/tablelist/okayapi_opms_pms_projects_doc.html
-- MySQL Table okayapi_opms_pms_projects_doc
-- From: OkayAPI.com
CREATE TABLE `okayapi_opms_pms_projects_doc` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`projectid` bigint(20) NULL COMMENT '',
`userid` bigint(20) NULL COMMENT '',
`title` varchar(100) NULL COMMENT '',
`keyword` varchar(255) NULL COMMENT '',
`sort` tinyint(1) NULL DEFAULT '1' COMMENT '1正文2链接',
`content` text NULL COMMENT '',
`url` varchar(255) NULL COMMENT '',
`attachment` varchar(255) NULL COMMENT '',
`created` int(10) NULL COMMENT '',
`okayapi_opms_pms_projects_doc_changed` int(10) NULL COMMENT '',
KEY `projectid` (`projectid`),
KEY `userid` (`userid`),
KEY `title` (`title`),
KEY `keyword` (`keyword`),
KEY `sort` (`sort`),
KEY `content` (`content`),
KEY `url` (`url`),
KEY `attachment` (`attachment`),
KEY `created` (`created`),
KEY `okayapi_opms_pms_projects_doc_changed` (`okayapi_opms_pms_projects_doc_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-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
projectid | bigint(20) | 是 | ||||
userid | bigint(20) | 是 | ||||
title | varchar(100) | 是 | ||||
keyword | varchar(255) | 是 | ||||
sort | tinyint(1) | 1 | 是 | 1正文2链接 | 1 | |
content | text | 是 | ||||
url | varchar(255) | 是 | ||||
attachment | varchar(255) | 是 | ||||
created | int(10) | 是 | ||||
okayapi_opms_pms_projects_doc_changed | int(10) | 是 |