+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_72crm_work:/tablelist/okayapi_72crm_work.html


-- MySQL Table okayapi_72crm_work
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_work` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `work_id` int(11) NULL COMMENT '项目ID',
    `okayapi_72crm_work_name` varchar(50) NULL COMMENT '项目名字',
    `okayapi_72crm_work_status` int(2) NULL DEFAULT '1' COMMENT '状态 1启用 3归档 2 删除',
    `create_time` datetime NULL COMMENT '创建时间',
    `create_user_id` bigint(20) NULL COMMENT '创建人ID',
    `description` text NULL COMMENT '描述',
    `color` varchar(15) NULL COMMENT '颜色',
    `is_open` int(2) NULL DEFAULT '1' COMMENT '是否所有人可见 1 是 0 否',
    `owner_user_id` varchar(50) NULL COMMENT '项目成员',
    `archive_time` datetime NULL COMMENT '归档时间',
    `delete_time` datetime NULL COMMENT '删除时间',
    `batch_id` varchar(32) NULL COMMENT '',
    KEY `work_id` (`work_id`),
    KEY `okayapi_72crm_work_name` (`okayapi_72crm_work_name`),
    KEY `okayapi_72crm_work_status` (`okayapi_72crm_work_status`),
    KEY `create_time` (`create_time`),
    KEY `create_user_id` (`create_user_id`),
    KEY `description` (`description`),
    KEY `color` (`color`),
    KEY `is_open` (`is_open`),
    KEY `owner_user_id` (`owner_user_id`),
    KEY `archive_time` (`archive_time`),
    KEY `delete_time` (`delete_time`),
    KEY `batch_id` (`batch_id`),
    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-12 of 12 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
work_idint(11)项目ID
okayapi_72crm_work_namevarchar(50)项目名字
okayapi_72crm_work_statusint(2)1状态 1启用 3归档 2 删除1
create_timedatetime创建时间
create_user_idbigint(20)创建人ID
descriptiontext描述
colorvarchar(15)颜色
is_openint(2)1是否所有人可见 1 是 0 否1
owner_user_idvarchar(50)项目成员
archive_timedatetime归档时间
delete_timedatetime删除时间
batch_idvarchar(32)

Guess You Like

MySQL Table Design okayapi_72crm_admin_config

MySQL Table Design okayapi_72crm_admin_dept

MySQL Table Design okayapi_72crm_admin_examine

MySQL Table Design okayapi_72crm_admin_examine_log

MySQL Table Design okayapi_72crm_admin_examine_record

MySQL Table Design okayapi_72crm_admin_examine_step

MySQL Table Design okayapi_72crm_admin_field_sort

MySQL Table Design okayapi_72crm_admin_fieldv

MySQL Table Design okayapi_72crm_admin_file

MySQL Table Design okayapi_72crm_admin_menu

MySQL Table Design okayapi_72crm_admin_message

MySQL Table Design okayapi_72crm_admin_record

MySQL Table Design okayapi_72crm_admin_role

MySQL Table Design okayapi_72crm_admin_role_menu

MySQL Table Design okayapi_72crm_admin_scene

MySQL Table Design okayapi_72crm_admin_scene_default

MySQL Table Design okayapi_72crm_admin_user

MySQL Table Design okayapi_72crm_admin_user_role

MySQL Table Design okayapi_72crm_crm_achievement

MySQL Table Design okayapi_72crm_crm_action_record

TOP ↑