MySQL Create Table SQL
Table Structure: okayapi_72crm_oa_event_relation:/tablelist/okayapi_72crm_oa_event_relation.html
-- MySQL Table okayapi_72crm_oa_event_relation
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_oa_event_relation` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`eventrelation_id` int(11) NOT NULL COMMENT '日程关联业务表',
`event_id` int(11) NOT NULL COMMENT '日程ID',
`customer_ids` varchar(200) NOT NULL COMMENT '客户IDs',
`contacts_ids` varchar(200) NOT NULL COMMENT '联系人IDs',
`business_ids` varchar(200) NOT NULL COMMENT '商机IDs',
`contract_ids` varchar(200) NOT NULL COMMENT '合同IDs',
`okayapi_72crm_oa_event_relation_status` int(2) NOT NULL DEFAULT '0' COMMENT '状态1可用',
`create_time` datetime NOT NULL COMMENT '创建时间',
KEY `eventrelation_id` (`eventrelation_id`),
KEY `event_id` (`event_id`),
KEY `customer_ids` (`customer_ids`),
KEY `contacts_ids` (`contacts_ids`),
KEY `business_ids` (`business_ids`),
KEY `contract_ids` (`contract_ids`),
KEY `okayapi_72crm_oa_event_relation_status` (`okayapi_72crm_oa_event_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 |
---|---|---|---|---|---|---|
eventrelation_id | int(11) | 否 | 日程关联业务表 | |||
event_id | int(11) | 否 | 日程ID | |||
customer_ids | varchar(200) | 是 | 客户IDs | |||
contacts_ids | varchar(200) | 是 | 联系人IDs | |||
business_ids | varchar(200) | 是 | 商机IDs | |||
contract_ids | varchar(200) | 是 | 合同IDs | |||
okayapi_72crm_oa_event_relation_status | int(2) | 0 | 是 | 状态1可用 | 0 | |
create_time | datetime | 否 | 创建时间 |