MySQL Create Table SQL
Table Structure: okayapi_crm_caigoutuihuos:/tablelist/okayapi_crm_caigoutuihuos.html
-- MySQL Table okayapi_crm_caigoutuihuos
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_caigoutuihuos` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NULL COMMENT '主题',
`status` varchar(255) NULL COMMENT '状态',
`vendors_id` int(11) NULL COMMENT '供应商ID',
`purchaseorder_id` int(11) NULL COMMENT '进货单ID',
`reason` varchar(255) NULL COMMENT '原因',
`deleted` tinyint(4) NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
KEY `title` (`title`),
KEY `status` (`status`),
KEY `vendors_id` (`vendors_id`),
KEY `purchaseorder_id` (`purchaseorder_id`),
KEY `reason` (`reason`),
KEY `deleted` (`deleted`),
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 |
---|---|---|---|---|---|---|
title | varchar(255) | 是 | 主题 | |||
status | varchar(255) | 是 | 状态 | |||
vendors_id | int(11) | 是 | 供应商ID | |||
purchaseorder_id | int(11) | 是 | 进货单ID | |||
reason | varchar(255) | 是 | 原因 | |||
deleted | tinyint(4) | 0 | 是 | 删除标识:0未删除,1删除 | 0 |