MySQL Create Table SQL
Table Structure: okayapi_72crm_work_task_label:/tablelist/okayapi_72crm_work_task_label.html
-- MySQL Table okayapi_72crm_work_task_label
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_work_task_label` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`label_id` int(11) NULL COMMENT '',
`okayapi_72crm_work_task_label_name` varchar(50) NULL COMMENT '标签名',
`create_time` datetime NULL COMMENT '创建时间',
`create_user_id` bigint(20) NULL COMMENT '创建人ID',
`okayapi_72crm_work_task_label_status` int(2) NULL DEFAULT '0' COMMENT '状态',
`color` varchar(15) NULL COMMENT '颜色',
KEY `label_id` (`label_id`),
KEY `okayapi_72crm_work_task_label_name` (`okayapi_72crm_work_task_label_name`),
KEY `create_time` (`create_time`),
KEY `create_user_id` (`create_user_id`),
KEY `okayapi_72crm_work_task_label_status` (`okayapi_72crm_work_task_label_status`),
KEY `color` (`color`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-任务标签表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
label_id | int(11) | 否 | ||||
okayapi_72crm_work_task_label_name | varchar(50) | 是 | 标签名 | |||
create_time | datetime | 是 | 创建时间 | |||
create_user_id | bigint(20) | 是 | 创建人ID | |||
okayapi_72crm_work_task_label_status | int(2) | 0 | 是 | 状态 | 0 | |
color | varchar(15) | 是 | 颜色 |