MySQL Create Table SQL
Table Structure: okayapi_72crm_admin_record:/tablelist/okayapi_72crm_admin_record.html
-- MySQL Table okayapi_72crm_admin_record
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_admin_record` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`record_id` int(11) NULL COMMENT '',
`okayapi_72crm_admin_record_types` varchar(50) NULL COMMENT '关联类型',
`types_id` int(11) NULL COMMENT '类型ID',
`content` varchar(1000) NULL COMMENT '跟进内容',
`category` varchar(255) NULL COMMENT '跟进类型',
`next_time` datetime NULL COMMENT '下次联系时间',
`business_ids` varchar(255) NULL COMMENT '商机ID',
`contacts_ids` varchar(255) NULL COMMENT '联系人ID',
`create_time` datetime NULL COMMENT '创建时间',
`create_user_id` bigint(20) NULL COMMENT '创建人ID',
`batch_id` varchar(32) NULL COMMENT '批次 比如附件批次',
KEY `record_id` (`record_id`),
KEY `okayapi_72crm_admin_record_types` (`okayapi_72crm_admin_record_types`),
KEY `types_id` (`types_id`),
KEY `content` (`content`),
KEY `category` (`category`),
KEY `next_time` (`next_time`),
KEY `business_ids` (`business_ids`),
KEY `contacts_ids` (`contacts_ids`),
KEY `create_time` (`create_time`),
KEY `create_user_id` (`create_user_id`),
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-11 of 11 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
record_id | int(11) | 否 | ||||
okayapi_72crm_admin_record_types | varchar(50) | 否 | 关联类型 | |||
types_id | int(11) | 否 | 类型ID | |||
content | varchar(1000) | 否 | 跟进内容 | |||
category | varchar(255) | 否 | 跟进类型 | |||
next_time | datetime | 是 | 下次联系时间 | |||
business_ids | varchar(255) | 是 | 商机ID | |||
contacts_ids | varchar(255) | 是 | 联系人ID | |||
create_time | datetime | 否 | 创建时间 | |||
create_user_id | bigint(20) | 否 | 创建人ID | |||
batch_id | varchar(32) | 是 | 批次 比如附件批次 |