+ Use This Table All Design

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
goods_idint(11)0商品idNormal Index0
imageschar(255)图片
is_showtinyint(3)1是否显示(0否, 1是)Normal Index1
sorttinyint(3)0顺序Normal Index0

Guess You Like

MySQL Table Design okayapi_goods

MySQL Table Design okayapi_goods_comment

MySQL Table Design okayapi_shopxo_s_admin

MySQL Table Design okayapi_shopxo_s_answer

MySQL Table Design okayapi_shopxo_s_app_center_nav

MySQL Table Design okayapi_shopxo_s_app_home_nav

MySQL Table Design okayapi_shopxo_s_article

MySQL Table Design okayapi_shopxo_s_article_category

MySQL Table Design okayapi_shopxo_s_attachment

MySQL Table Design okayapi_shopxo_s_brand

MySQL Table Design okayapi_shopxo_s_brand_category

MySQL Table Design okayapi_shopxo_s_cart

MySQL Table Design okayapi_shopxo_s_config

MySQL Table Design okayapi_shopxo_s_custom_view

MySQL Table Design okayapi_shopxo_s_express

MySQL Table Design okayapi_shopxo_s_goods

MySQL Table Design okayapi_shopxo_s_goods_browse

MySQL Table Design okayapi_shopxo_s_goods_category

MySQL Table Design okayapi_shopxo_s_goods_category_join

MySQL Table Design okayapi_shopxo_s_goods_comments

TOP ↑