MySQL Create Table SQL
Table Structure: okayapi_dberp_other_warehouse_order:/tablelist/okayapi_dberp_other_warehouse_order.html
-- MySQL Table okayapi_dberp_other_warehouse_order
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_other_warehouse_order` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`warehouse_id` int(11) NOT NULL COMMENT '',
`warehouse_order_sn` varchar(50) NOT NULL COMMENT '',
`warehouse_order_state` tinyint(1) NOT NULL DEFAULT '3' COMMENT '',
`warehouse_order_info` varchar(255) NOT NULL COMMENT '',
`warehouse_order_goods_amount` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
`warehouse_order_tax` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
`warehouse_order_amount` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
`other_add_time` int(10) NOT NULL COMMENT '',
`admin_id` int(11) NOT NULL COMMENT '',
KEY `warehouse_id` (`warehouse_id`),
KEY `warehouse_order_sn` (`warehouse_order_sn`),
KEY `warehouse_order_state` (`warehouse_order_state`),
KEY `warehouse_order_info` (`warehouse_order_info`),
KEY `warehouse_order_goods_amount` (`warehouse_order_goods_amount`),
KEY `warehouse_order_tax` (`warehouse_order_tax`),
KEY `warehouse_order_amount` (`warehouse_order_amount`),
KEY `other_add_time` (`other_add_time`),
KEY `admin_id` (`admin_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'DBErp进销存-其他入库表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
warehouse_id | int(11) | 否 | ||||
warehouse_order_sn | varchar(50) | 否 | ||||
warehouse_order_state | tinyint(1) | 3 | 否 | 3 | ||
warehouse_order_info | varchar(255) | 是 | ||||
warehouse_order_goods_amount | decimal(19,4) | 0.0000 | 否 | 0.0000 | ||
warehouse_order_tax | decimal(19,4) | 0.0000 | 否 | 0.0000 | ||
warehouse_order_amount | decimal(19,4) | 0.0000 | 否 | 0.0000 | ||
other_add_time | int(10) | 否 | ||||
admin_id | int(11) | 否 |