+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_crm_customer:/tablelist/okayapi_crm_customer.html


-- MySQL Table okayapi_crm_customer
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_customer` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `customer_name` varchar(255) NULL COMMENT '客户名称',
    `phone` varchar(255) NULL COMMENT '手机',
    `status` varchar(255) NULL COMMENT '状态',
    `deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
    `createtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `website` int(11) NULL COMMENT '网站',
    `numberofemployees` int(11) NULL COMMENT '员工人数',
    `natureofbusiness` int(11) NULL COMMENT '公司性质',
    `customertype` int(11) NULL COMMENT '客户类型',
    `tel` int(11) NULL COMMENT '电话',
    `firstcontacter` int(11) NULL COMMENT '首要联系人',
    `othertel` int(11) NULL COMMENT '其他电话',
    `fax` int(11) NULL COMMENT '传真',
    `email` int(11) NULL COMMENT 'Email',
    `address` int(11) NULL COMMENT '地址',
    `paymethod` int(11) NULL COMMENT '支付方式',
    `memo` int(11) NULL COMMENT '备注',
    KEY `customer_name` (`customer_name`),
    KEY `phone` (`phone`),
    KEY `status` (`status`),
    KEY `deleted` (`deleted`),
    KEY `createtime` (`createtime`),
    KEY `website` (`website`),
    KEY `numberofemployees` (`numberofemployees`),
    KEY `natureofbusiness` (`natureofbusiness`),
    KEY `customertype` (`customertype`),
    KEY `tel` (`tel`),
    KEY `firstcontacter` (`firstcontacter`),
    KEY `othertel` (`othertel`),
    KEY `fax` (`fax`),
    KEY `email` (`email`),
    KEY `address` (`address`),
    KEY `paymethod` (`paymethod`),
    KEY `memo` (`memo`),
    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-17 of 17 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
customer_namevarchar(255)客户名称
phonevarchar(255)手机
statusvarchar(255)状态
deletedtinyint(4)0删除标识:0未删除,1删除0
createtimetimestampCURRENT_TIMESTAMP创建时间CURRENT_TIMESTAMP
websiteint(11)网站
numberofemployeesint(11)员工人数
natureofbusinessint(11)公司性质
customertypeint(11)客户类型
telint(11)电话
firstcontacterint(11)首要联系人
othertelint(11)其他电话
faxint(11)传真
emailint(11)Email
addressint(11)地址
paymethodint(11)支付方式
memoint(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_contactlog

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 ↑