MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_goods_photo:/tablelist/okayapi_shopxo_s_goods_photo.html
-- MySQL Table okayapi_shopxo_s_goods_photo
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_goods_photo` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`goods_id` int(11) NULL DEFAULT '0' COMMENT '商品id',
`images` char(255) NULL COMMENT '图片',
`is_show` tinyint(3) NULL DEFAULT '1' COMMENT '是否显示(0否, 1是)',
`sort` tinyint(3) NULL DEFAULT '0' COMMENT '顺序',
KEY `goods_id` (`goods_id`),
KEY `images` (`images`),
KEY `is_show` (`is_show`),
KEY `sort` (`sort`),
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-4 of 4 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
goods_id | int(11) | 0 | 否 | 商品id | Normal Index | 0 |
images | char(255) | 否 | 图片 | |||
is_show | tinyint(3) | 1 | 是 | 是否显示(0否, 1是) | Normal Index | 1 |
sort | tinyint(3) | 0 | 是 | 顺序 | Normal Index | 0 |