MySQL Create Table SQL
Table Structure: okayapi_crm_tuihuo:/tablelist/okayapi_crm_tuihuo.html
-- MySQL Table okayapi_crm_tuihuo
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_tuihuo` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`tuihuo_num` varchar(255) NULL COMMENT '退货单',
`customer_id` int(11) NULL COMMENT '客户',
`tuihuo_date` date NULL COMMENT '退货日期',
`total` decimal(10,0) NULL COMMENT '总计',
`approve_status` varchar(255) NULL COMMENT '审核状态',
`deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
`description` int(11) NULL COMMENT '描述',
KEY `tuihuo_num` (`tuihuo_num`),
KEY `customer_id` (`customer_id`),
KEY `tuihuo_date` (`tuihuo_date`),
KEY `total` (`total`),
KEY `approve_status` (`approve_status`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
tuihuo_num | varchar(255) | 是 | 退货单 | |||
customer_id | int(11) | 是 | 客户 | |||
tuihuo_date | date | 是 | 退货日期 | |||
total | decimal(10,0) | 是 | 总计 | |||
approve_status | varchar(255) | 是 | 审核状态 | |||
deleted | tinyint(4) | 0 | 是 | 删除标识:0未删除,1删除 | 0 | |
description | int(11) | 是 | 描述 |