MySQL Create Table SQL
Table Structure: okayapi_crm_contactlog:/tablelist/okayapi_crm_contactlog.html
-- MySQL Table okayapi_crm_contactlog
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_contactlog` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NULL COMMENT '联系记录',
`customer_id` int(11) NULL COMMENT '客户',
`contact_type` varchar(255) NULL COMMENT '联系类型',
`contact_time` datetime NULL COMMENT '联系时间',
`status` varchar(255) NULL COMMENT '处理状态',
`deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识,0-未删除,1-删除',
`salesstage` int(11) NULL COMMENT '销售阶段',
`customerstatus` int(11) NULL COMMENT '客户状态',
`revisitdays` int(11) NULL COMMENT '下次回访时间',
`potentials_id` int(11) NULL COMMENT '销售机会',
`content` int(11) NULL COMMENT '内容',
KEY `title` (`title`),
KEY `customer_id` (`customer_id`),
KEY `contact_type` (`contact_type`),
KEY `contact_time` (`contact_time`),
KEY `status` (`status`),
KEY `deleted` (`deleted`),
KEY `salesstage` (`salesstage`),
KEY `customerstatus` (`customerstatus`),
KEY `revisitdays` (`revisitdays`),
KEY `potentials_id` (`potentials_id`),
KEY `content` (`content`),
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 |
---|---|---|---|---|---|---|
title | varchar(255) | 是 | 联系记录 | |||
customer_id | int(11) | 是 | 客户 | |||
contact_type | varchar(255) | 是 | 联系类型 | |||
contact_time | datetime | 是 | 联系时间 | |||
status | varchar(255) | 是 | 处理状态 | |||
deleted | tinyint(4) | 0 | 否 | 删除标识,0-未删除,1-删除 | 0 | |
salesstage | int(11) | 是 | 销售阶段 | |||
customerstatus | int(11) | 是 | 客户状态 | |||
revisitdays | int(11) | 是 | 下次回访时间 | |||
potentials_id | int(11) | 是 | 销售机会 | |||
content | int(11) | 是 | 内容 |