MySQL Create Table SQL
Table Structure: okayapi_dberp_goods_category:/tablelist/okayapi_dberp_goods_category.html
-- MySQL Table okayapi_dberp_goods_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_goods_category` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`goods_category_top_id` int(11) NOT NULL DEFAULT '0' COMMENT '',
`goods_category_code` varchar(30) NOT NULL COMMENT '',
`goods_category_name` varchar(100) NOT NULL COMMENT '',
`goods_category_path` varchar(255) NOT NULL DEFAULT '0' COMMENT '',
`goods_category_sort` int(11) NOT NULL DEFAULT '255' COMMENT '',
`admin_id` int(11) NOT NULL COMMENT '',
KEY `goods_category_top_id` (`goods_category_top_id`),
KEY `goods_category_code` (`goods_category_code`),
KEY `goods_category_name` (`goods_category_name`),
KEY `goods_category_path` (`goods_category_path`),
KEY `goods_category_sort` (`goods_category_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 |
---|---|---|---|---|---|---|
goods_category_top_id | int(11) | 0 | 否 | 0 | ||
goods_category_code | varchar(30) | 否 | ||||
goods_category_name | varchar(100) | 否 | ||||
goods_category_path | varchar(255) | 0 | 是 | 0 | ||
goods_category_sort | int(11) | 255 | 否 | 255 | ||
admin_id | int(11) | 否 |