MySQL Create Table SQL
Table Structure: okayapi_crm_warehousesorder:/tablelist/okayapi_crm_warehousesorder.html
-- MySQL Table okayapi_crm_warehousesorder
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_warehousesorder` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`warehousesorder_num` varchar(255) NOT NULL COMMENT '入库单号',
`purchaseorder_id` int(11) NOT NULL COMMENT '进货单ID',
`status` varchar(255) NOT NULL COMMENT '状态',
`amount` int(255) NOT NULL COMMENT '数量',
`deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
KEY `warehousesorder_num` (`warehousesorder_num`),
KEY `purchaseorder_id` (`purchaseorder_id`),
KEY `status` (`status`),
KEY `amount` (`amount`),
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-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
warehousesorder_num | varchar(255) | 是 | 入库单号 | |||
purchaseorder_id | int(11) | 是 | 进货单ID | |||
status | varchar(255) | 是 | 状态 | |||
amount | int(255) | 是 | 数量 | |||
deleted | tinyint(4) | 0 | 否 | 删除标识:0未删除,1删除 | 0 |