MySQL Create Table SQL
Table Structure: okayapi_72crm_task_relation:/tablelist/okayapi_72crm_task_relation.html
-- MySQL Table okayapi_72crm_task_relation
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_task_relation` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`r_id` int(11) NULL COMMENT '任务关联业务表',
`task_id` int(11) NULL COMMENT '任务ID',
`customer_ids` varchar(50) NULL COMMENT '客户IDs',
`contacts_ids` varchar(50) NULL COMMENT '联系人IDs',
`business_ids` varchar(50) NULL COMMENT '商机IDs',
`contract_ids` varchar(50) NULL COMMENT '合同IDs',
`okayapi_72crm_task_relation_status` int(2) NULL COMMENT '状态1可用',
`create_time` datetime NULL COMMENT '创建时间',
KEY `r_id` (`r_id`),
KEY `task_id` (`task_id`),
KEY `customer_ids` (`customer_ids`),
KEY `contacts_ids` (`contacts_ids`),
KEY `business_ids` (`business_ids`),
KEY `contract_ids` (`contract_ids`),
KEY `okayapi_72crm_task_relation_status` (`okayapi_72crm_task_relation_status`),
KEY `create_time` (`create_time`),
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-8 of 8 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
r_id | int(11) | 否 | 任务关联业务表 | |||
task_id | int(11) | 是 | 任务ID | |||
customer_ids | varchar(50) | 是 | 客户IDs | |||
contacts_ids | varchar(50) | 是 | 联系人IDs | |||
business_ids | varchar(50) | 是 | 商机IDs | |||
contract_ids | varchar(50) | 是 | 合同IDs | |||
okayapi_72crm_task_relation_status | int(2) | 是 | 状态1可用 | |||
create_time | datetime | 是 | 创建时间 |