MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_article_category:/tablelist/okayapi_shopxo_s_article_category.html
-- MySQL Table okayapi_shopxo_s_article_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_article_category` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
`okayapi_shopxo_s_article_category_name` char(30) NOT NULL COMMENT '名称',
`is_enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用(0否,1是)',
`sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '顺序',
`upd_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
KEY `pid` (`pid`),
KEY `okayapi_shopxo_s_article_category_name` (`okayapi_shopxo_s_article_category_name`),
KEY `is_enable` (`is_enable`),
KEY `sort` (`sort`),
KEY `upd_time` (`upd_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-文章分类';
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 |
---|---|---|---|---|---|---|
pid | int(11) | 0 | 否 | 父id | Normal Index | 0 |
okayapi_shopxo_s_article_category_name | char(30) | 否 | 名称 | |||
is_enable | tinyint(1) | 1 | 否 | 是否启用(0否,1是) | Normal Index | 1 |
sort | tinyint(3) | 0 | 否 | 顺序 | 0 | |
upd_time | int(11) | 0 | 否 | 更新时间 | 0 |