MySQL Create Table SQL
Table Structure: okayapi_crm_contacter:/tablelist/okayapi_crm_contacter.html
-- MySQL Table okayapi_crm_contacter
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_contacter` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`contacter_name` varchar(255) NULL COMMENT '联系人名称',
`position` varchar(255) NULL COMMENT '级别',
`email` varchar(255) NULL COMMENT '邮箱',
`phone` varchar(255) NULL COMMENT '手机',
`tel` varchar(255) NULL COMMENT '电话',
`deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识,0-未删除,1-删除',
`createtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`address` int(11) NULL COMMENT '称呼',
`description` int(11) NULL COMMENT '描述信息',
`fax` int(11) NULL COMMENT '传真',
`department` int(11) NULL COMMENT '部门',
KEY `contacter_name` (`contacter_name`),
KEY `position` (`position`),
KEY `email` (`email`),
KEY `phone` (`phone`),
KEY `tel` (`tel`),
KEY `deleted` (`deleted`),
KEY `createtime` (`createtime`),
KEY `address` (`address`),
KEY `description` (`description`),
KEY `fax` (`fax`),
KEY `department` (`department`),
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 |
---|---|---|---|---|---|---|
contacter_name | varchar(255) | 是 | 联系人名称 | |||
position | varchar(255) | 是 | 级别 | |||
varchar(255) | 是 | 邮箱 | ||||
phone | varchar(255) | 是 | 手机 | |||
tel | varchar(255) | 是 | 电话 | |||
deleted | tinyint(4) | 0 | 否 | 删除标识,0-未删除,1-删除 | 0 | |
createtime | timestamp | CURRENT_TIMESTAMP | 否 | 创建时间 | CURRENT_TIMESTAMP | |
address | int(11) | 是 | 称呼 | |||
description | int(11) | 是 | 描述信息 | |||
fax | int(11) | 是 | 传真 | |||
department | int(11) | 是 | 部门 |