MySQL Create Table SQL
Table Structure: okayapi_72crm_crm_customer_settinguser:/tablelist/okayapi_72crm_crm_customer_settinguser.html
-- MySQL Table okayapi_72crm_crm_customer_settinguser
-- From: OkayAPI.com
CREATE TABLE `okayapi_72crm_crm_customer_settinguser` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`setting_id` int(11) NULL COMMENT '客户规则限制ID',
`user_id` bigint(20) NULL COMMENT '用户id',
`dept_id` int(11) NULL COMMENT '部门ID',
`okayapi_72crm_crm_customer_settinguser_type` int(1) NULL COMMENT '1 员工 2 部门',
KEY `setting_id` (`setting_id`),
KEY `user_id` (`user_id`),
KEY `dept_id` (`dept_id`),
KEY `okayapi_72crm_crm_customer_settinguser_type` (`okayapi_72crm_crm_customer_settinguser_type`),
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-4 of 4 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
setting_id | int(11) | 否 | 客户规则限制ID | |||
user_id | bigint(20) | 是 | 用户id | |||
dept_id | int(11) | 是 | 部门ID | |||
okayapi_72crm_crm_customer_settinguser_type | int(1) | 是 | 1 员工 2 部门 |