MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_express:/tablelist/okayapi_shopxo_s_express.html
-- MySQL Table okayapi_shopxo_s_express
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_express` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
`icon` char(255) NOT NULL COMMENT 'icon图标',
`okayapi_shopxo_s_express_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 `icon` (`icon`),
KEY `okayapi_shopxo_s_express_name` (`okayapi_shopxo_s_express_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-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
pid | int(11) | 0 | 否 | 父id | 0 | |
icon | char(255) | 否 | icon图标 | |||
okayapi_shopxo_s_express_name | char(30) | 否 | 名称 | |||
is_enable | tinyint(1) | 1 | 否 | 是否启用(0否,1是) | Normal Index | 1 |
sort | tinyint(3) | 0 | 否 | 顺序 | 0 | |
upd_time | int(11) | 0 | 否 | 更新时间 | 0 |