MySQL Create Table SQL
Table Structure: okayapi_72crm_oa_action_record:/tablelist/okayapi_72crm_oa_action_record.html
-- MySQL Table okayapi_72crm_oa_action_record
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_oa_action_record` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`log_id` int(11) NOT NULL COMMENT '',
`user_id` bigint(20) NOT NULL COMMENT '操作人ID',
`okayapi_72crm_oa_action_record_type` int(1) NOT NULL COMMENT '操作类型',
`action_id` int(10) NOT NULL COMMENT '操作对象id',
`create_time` datetime NOT NULL COMMENT '操作时间',
`join_user_ids` varchar(100) NOT NULL COMMENT '抄送人IDs',
`dept_ids` varchar(100) NOT NULL COMMENT '抄送部门IDs',
`content` varchar(500) NOT NULL COMMENT '操作内容',
KEY `log_id` (`log_id`),
KEY `user_id` (`user_id`),
KEY `okayapi_72crm_oa_action_record_type` (`okayapi_72crm_oa_action_record_type`),
KEY `action_id` (`action_id`),
KEY `create_time` (`create_time`),
KEY `join_user_ids` (`join_user_ids`),
KEY `dept_ids` (`dept_ids`),
KEY `content` (`content`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-oa操作记录表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-8 of 8 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
log_id | int(11) | 否 | ||||
user_id | bigint(20) | 否 | 操作人ID | |||
okayapi_72crm_oa_action_record_type | int(1) | 否 | 操作类型 | |||
action_id | int(10) | 是 | 操作对象id | |||
create_time | datetime | 否 | 操作时间 | |||
join_user_ids | varchar(100) | 是 | 抄送人IDs | |||
dept_ids | varchar(100) | 是 | 抄送部门IDs | |||
content | varchar(500) | 否 | 操作内容 |