+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_72crm_task:/tablelist/okayapi_72crm_task.html


-- MySQL Table okayapi_72crm_task
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_task` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `task_id` int(11) NULL COMMENT '任务表',
    `okayapi_72crm_task_name` varchar(50) NULL COMMENT '任务名称',
    `create_user_id` bigint(20) NULL COMMENT '创建人ID',
    `main_user_id` bigint(20) NULL COMMENT '负责人ID',
    `owner_user_id` varchar(255) NULL COMMENT '团队成员ID',
    `create_time` datetime NULL COMMENT '新建时间',
    `okayapi_72crm_task_status` int(2) NULL DEFAULT '1' COMMENT '完成状态 1正在进行2延期3归档 5结束',
    `class_id` int(5) NULL DEFAULT '0' COMMENT '分类id',
    `label_id` varchar(255) NULL COMMENT '标签 ,号拼接',
    `description` text NULL COMMENT '描述',
    `pid` int(11) NULL DEFAULT '0' COMMENT '上级ID',
    `start_time` datetime NULL COMMENT '开始时间',
    `stop_time` datetime NULL COMMENT '结束时间',
    `priority` int(2) NULL COMMENT '优先级 从大到小 3高 2中 1低',
    `work_id` int(11) NULL DEFAULT '0' COMMENT '项目ID',
    `is_top` int(2) NULL DEFAULT '0' COMMENT '工作台展示 0收件箱 1今天要做,2下一步要做,3以后要做',
    `is_open` int(2) NULL DEFAULT '1' COMMENT '是否公开',
    `order_num` int(4) NULL DEFAULT '999' COMMENT '排序ID',
    `top_order_num` int(4) NULL DEFAULT '999' COMMENT '我的任务排序ID',
    `archive_time` datetime NULL COMMENT '归档时间',
    `ishidden` int(2) NULL DEFAULT '0' COMMENT '是否删除 0 未删除 1 删除',
    `hidden_time` datetime NULL COMMENT '删除时间',
    `batch_id` varchar(50) NULL COMMENT '批次',
    `is_archive` int(2) NULL DEFAULT '0' COMMENT '1归档',
    KEY `task_id` (`task_id`),
    KEY `okayapi_72crm_task_name` (`okayapi_72crm_task_name`),
    KEY `create_user_id` (`create_user_id`),
    KEY `main_user_id` (`main_user_id`),
    KEY `owner_user_id` (`owner_user_id`),
    KEY `create_time` (`create_time`),
    KEY `okayapi_72crm_task_status` (`okayapi_72crm_task_status`),
    KEY `class_id` (`class_id`),
    KEY `label_id` (`label_id`),
    KEY `description` (`description`),
    KEY `pid` (`pid`),
    KEY `start_time` (`start_time`),
    KEY `stop_time` (`stop_time`),
    KEY `priority` (`priority`),
    KEY `work_id` (`work_id`),
    KEY `is_top` (`is_top`),
    KEY `is_open` (`is_open`),
    KEY `order_num` (`order_num`),
    KEY `top_order_num` (`top_order_num`),
    KEY `archive_time` (`archive_time`),
    KEY `ishidden` (`ishidden`),
    KEY `hidden_time` (`hidden_time`),
    KEY `batch_id` (`batch_id`),
    KEY `is_archive` (`is_archive`),
    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-24 of 24 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
task_idint(11)任务表
okayapi_72crm_task_namevarchar(50)任务名称
create_user_idbigint(20)创建人ID
main_user_idbigint(20)负责人ID
owner_user_idvarchar(255)团队成员ID
create_timedatetime新建时间
okayapi_72crm_task_statusint(2)1完成状态 1正在进行2延期3归档 5结束1
class_idint(5)0分类id0
label_idvarchar(255)标签 ,号拼接
descriptiontext描述
pidint(11)0上级ID0
start_timedatetime开始时间
stop_timedatetime结束时间
priorityint(2)优先级 从大到小 3高 2中 1低
work_idint(11)0项目ID0
is_topint(2)0工作台展示 0收件箱 1今天要做,2下一步要做,3以后要做0
is_openint(2)1是否公开1
order_numint(4)999排序ID999
top_order_numint(4)999我的任务排序ID999
archive_timedatetime归档时间
ishiddenint(2)0是否删除 0 未删除 1 删除0
hidden_timedatetime删除时间
batch_idvarchar(50)批次
is_archiveint(2)01归档0

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 ↑