MySQL Create Table SQL
Table Structure: okayapi_crm_weeklylogs:/tablelist/okayapi_crm_weeklylogs.html
-- MySQL Table okayapi_crm_weeklylogs
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_weeklylogs` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`summary` text NOT NULL COMMENT '本周总结',
`nextweek_plan` text NOT NULL COMMENT '下周计划',
`createdate` date NOT NULL COMMENT '创建日期',
`user_id` int(11) NOT NULL COMMENT '用户ID',
`deleted` tinyint(255) NOT NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
`year` int(255) NOT NULL DEFAULT '0' COMMENT '年',
`week` int(255) NOT NULL DEFAULT '0' COMMENT '第几周',
KEY `summary` (`summary`),
KEY `nextweek_plan` (`nextweek_plan`),
KEY `createdate` (`createdate`),
KEY `user_id` (`user_id`),
KEY `deleted` (`deleted`),
KEY `year` (`year`),
KEY `week` (`week`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
summary | text | 是 | 本周总结 | |||
nextweek_plan | text | 是 | 下周计划 | |||
createdate | date | 否 | 创建日期 | |||
user_id | int(11) | 是 | 用户ID | |||
deleted | tinyint(255) | 0 | 否 | 删除标识:0未删除,1删除 | 0 | |
year | int(255) | 0 | 否 | 年 | 0 | |
week | int(255) | 0 | 否 | 第几周 | 0 |