MySQL Create Table SQL
Table Structure: okayapi_xbinstore_tb_category:/tablelist/okayapi_xbinstore_tb_category.html
-- MySQL Table okayapi_xbinstore_tb_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_xbinstore_tb_category` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_xbinstore_tb_category_name` varchar(200) NULL COMMENT '名字',
`sort_order` int(4) NULL DEFAULT '1' COMMENT '排列序号,表示同级类目的展现次序,如数值相等则按名称次序排列。取值范围:大于零的整数',
`created` datetime NULL COMMENT '',
`updated` datetime NULL COMMENT '',
KEY `okayapi_xbinstore_tb_category_name` (`okayapi_xbinstore_tb_category_name`),
KEY `sort_order` (`sort_order`),
KEY `created` (`created`),
KEY `updated` (`updated`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'B2C商城-分类';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-4 of 4 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_xbinstore_tb_category_name | varchar(200) | 是 | 名字 | |||
sort_order | int(4) | 1 | 否 | 排列序号,表示同级类目的展现次序,如数值相等则按名称次序排列。取值范围:大于零的整数 | 1 | |
created | datetime | 是 | ||||
updated | datetime | 是 | Normal Index |