MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_screening_price:/tablelist/okayapi_shopxo_s_screening_price.html
-- MySQL Table okayapi_shopxo_s_screening_price
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_screening_price` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
`okayapi_shopxo_s_screening_price_name` char(30) NOT NULL COMMENT '名称',
`min_price` int(10) NOT NULL DEFAULT '0' COMMENT '最小价格',
`max_price` int(10) NOT NULL DEFAULT '0' 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_screening_price_name` (`okayapi_shopxo_s_screening_price_name`),
KEY `min_price` (`min_price`),
KEY `max_price` (`max_price`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
pid | int(11) | 0 | 否 | 父id | Normal Index | 0 |
okayapi_shopxo_s_screening_price_name | char(30) | 否 | 名称 | |||
min_price | int(10) | 0 | 否 | 最小价格 | 0 | |
max_price | int(10) | 0 | 否 | 最大价格 | 0 | |
is_enable | tinyint(1) | 1 | 否 | 是否启用(0否,1是) | Normal Index | 1 |
sort | tinyint(3) | 0 | 否 | 顺序 | 0 | |
upd_time | int(11) | 0 | 否 | 更新时间 | 0 |