+ Use This Table All Design

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
titlevarchar(255)联系记录
customer_idint(11)客户
contact_typevarchar(255)联系类型
contact_timedatetime联系时间
statusvarchar(255)处理状态
deletedtinyint(4)0删除标识,0-未删除,1-删除0
salesstageint(11)销售阶段
customerstatusint(11)客户状态
revisitdaysint(11)下次回访时间
potentials_idint(11)销售机会
contentint(11)内容

Guess You Like

MySQL Table Design okayapi_crm_accountrecordss

MySQL Table Design okayapi_crm_announcements

MySQL Table Design okayapi_crm_caigoutuihuos

MySQL Table Design okayapi_crm_campaigns

MySQL Table Design okayapi_crm_charges

MySQL Table Design okayapi_crm_chargesrecords

MySQL Table Design okayapi_crm_checks

MySQL Table Design okayapi_crm_competitor

MySQL Table Design okayapi_crm_complaints

MySQL Table Design okayapi_crm_contacter

MySQL Table Design okayapi_crm_customer

MySQL Table Design okayapi_crm_dailylogs

MySQL Table Design okayapi_crm_deliverys

MySQL Table Design okayapi_crm_emailgroup

MySQL Table Design okayapi_crm_emailgroupinfo

MySQL Table Design okayapi_crm_expenses

MySQL Table Design okayapi_crm_faq

MySQL Table Design okayapi_crm_faqcategory

MySQL Table Design okayapi_crm_gathers

MySQL Table Design okayapi_crm_gathersrecords

TOP ↑