MySQL Create Table SQL
Table Structure: okayapi_dberp_warehouse:/tablelist/okayapi_dberp_warehouse.html
-- MySQL Table okayapi_dberp_warehouse
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_warehouse` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`warehouse_sn` varchar(30) NOT NULL COMMENT '',
`warehouse_name` varchar(100) NOT NULL COMMENT '',
`warehouse_contacts` varchar(50) NOT NULL COMMENT '',
`warehouse_phone` varchar(30) NOT NULL COMMENT '',
`warehouse_sort` int(11) NOT NULL DEFAULT '255' COMMENT '',
`admin_id` int(11) NOT NULL COMMENT '',
KEY `warehouse_sn` (`warehouse_sn`),
KEY `warehouse_name` (`warehouse_name`),
KEY `warehouse_contacts` (`warehouse_contacts`),
KEY `warehouse_phone` (`warehouse_phone`),
KEY `warehouse_sort` (`warehouse_sort`),
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-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
warehouse_sn | varchar(30) | 否 | ||||
warehouse_name | varchar(100) | 否 | ||||
warehouse_contacts | varchar(50) | 是 | ||||
warehouse_phone | varchar(30) | 是 | ||||
warehouse_sort | int(11) | 255 | 否 | 255 | ||
admin_id | int(11) | 否 |