MySQL Create Table SQL
Table Structure: okayapi_smpss_category:/tablelist/okayapi_smpss_category.html
-- MySQL Table okayapi_smpss_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_smpss_category` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`cat_id` int(10) NOT NULL COMMENT '',
`cat_name` varchar(100) NOT NULL COMMENT '',
`pid` int(10) NOT NULL COMMENT '父ID',
`is_show` tinyint(1) NOT NULL COMMENT '是否显示',
`sort_seq` tinyint(1) NOT NULL COMMENT '排序',
KEY `cat_id` (`cat_id`),
KEY `cat_name` (`cat_name`),
KEY `pid` (`pid`),
KEY `is_show` (`is_show`),
KEY `sort_seq` (`sort_seq`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '进销存-商品分类表';
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 |
---|---|---|---|---|---|---|
cat_id | int(10) | 否 | ||||
cat_name | varchar(100) | 否 | ||||
pid | int(10) | 否 | 父ID | |||
is_show | tinyint(1) | 否 | 是否显示 | |||
sort_seq | tinyint(1) | 否 | 排序 |