MySQL Create Table SQL
Table Structure: okayapi_crm_invoice:/tablelist/okayapi_crm_invoice.html
-- MySQL Table okayapi_crm_invoice
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_invoice` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`invoice_num` varchar(255) NULL COMMENT '发货单号',
`customer_id` int(11) NULL COMMENT '客户ID',
`salesorder_id` int(255) NULL COMMENT '销售单',
`delivery_time` datetime NULL COMMENT '发货日期',
`deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识:0,未删除,1删除',
`description` int(11) NULL COMMENT '描述',
KEY `invoice_num` (`invoice_num`),
KEY `customer_id` (`customer_id`),
KEY `salesorder_id` (`salesorder_id`),
KEY `delivery_time` (`delivery_time`),
KEY `deleted` (`deleted`),
KEY `description` (`description`),
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-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
invoice_num | varchar(255) | 是 | 发货单号 | |||
customer_id | int(11) | 是 | 客户ID | |||
salesorder_id | int(255) | 是 | 销售单 | |||
delivery_time | datetime | 是 | 发货日期 | |||
deleted | tinyint(4) | 0 | 否 | 删除标识:0,未删除,1删除 | 0 | |
description | int(11) | 是 | 描述 |