+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_openant_product:/tablelist/okayapi_openant_product.html


-- MySQL Table okayapi_openant_product
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_product` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `product_id` int(11) NOT NULL COMMENT '',
    `address_id` int(11) NOT NULL COMMENT '',
    `stock_status_id` int(11) NOT NULL COMMENT '',
    `freight_template_id` int(11) NOT NULL COMMENT '',
    `image` varchar(255) NOT NULL COMMENT '',
    `manufacturer_id` int(11) NOT NULL COMMENT '',
    `shipping` tinyint(1) NOT NULL DEFAULT '1' COMMENT '',
    `price` decimal(15,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `points` int(8) NOT NULL DEFAULT '0' COMMENT '',
    `user_points` int(11) NOT NULL COMMENT '',
    `tax_class_id` int(11) NOT NULL COMMENT '',
    `weight` decimal(15,8) NOT NULL DEFAULT '0.00000000' COMMENT '',
    `weight_class_id` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `length` decimal(15,8) NOT NULL DEFAULT '0.00000000' COMMENT '',
    `width` decimal(15,8) NOT NULL DEFAULT '0.00000000' COMMENT '',
    `height` decimal(15,8) NOT NULL DEFAULT '0.00000000' COMMENT '',
    `length_class_id` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `subtract` tinyint(1) NOT NULL DEFAULT '1' COMMENT '',
    `maximum` int(3) NOT NULL COMMENT '',
    `commission_rate` int(11) NOT NULL DEFAULT '1' COMMENT '',
    `store_id` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `sort_order` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `seo_order` float(11,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `okayapi_openant_product_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '上下架',
    `viewed` int(11) NOT NULL DEFAULT '0' COMMENT '',
    `quantity` int(11) NOT NULL COMMENT '',
    `invalid` tinyint(1) NOT NULL DEFAULT '0' COMMENT '永久屏蔽',
    `date_added` datetime NOT NULL COMMENT '',
    `date_modified` datetime NOT NULL COMMENT '',
    `date_invalid` datetime NOT NULL COMMENT '',
    KEY `product_id` (`product_id`),
    KEY `address_id` (`address_id`),
    KEY `stock_status_id` (`stock_status_id`),
    KEY `freight_template_id` (`freight_template_id`),
    KEY `image` (`image`),
    KEY `manufacturer_id` (`manufacturer_id`),
    KEY `shipping` (`shipping`),
    KEY `price` (`price`),
    KEY `points` (`points`),
    KEY `user_points` (`user_points`),
    KEY `tax_class_id` (`tax_class_id`),
    KEY `weight` (`weight`),
    KEY `weight_class_id` (`weight_class_id`),
    KEY `length` (`length`),
    KEY `width` (`width`),
    KEY `height` (`height`),
    KEY `length_class_id` (`length_class_id`),
    KEY `subtract` (`subtract`),
    KEY `maximum` (`maximum`),
    KEY `commission_rate` (`commission_rate`),
    KEY `store_id` (`store_id`),
    KEY `sort_order` (`sort_order`),
    KEY `seo_order` (`seo_order`),
    KEY `okayapi_openant_product_status` (`okayapi_openant_product_status`),
    KEY `viewed` (`viewed`),
    KEY `quantity` (`quantity`),
    KEY `invalid` (`invalid`),
    KEY `date_added` (`date_added`),
    KEY `date_modified` (`date_modified`),
    KEY `date_invalid` (`date_invalid`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'openant电商-商品';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-30 of 30 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
product_idint(11)
address_idint(11)
stock_status_idint(11)
freight_template_idint(11)
imagevarchar(255)
manufacturer_idint(11)
shippingtinyint(1)11
pricedecimal(15,4)0.00000.0000
pointsint(8)00
user_pointsint(11)
tax_class_idint(11)
weightdecimal(15,8)0.000000000.00000000
weight_class_idint(11)00
lengthdecimal(15,8)0.000000000.00000000
widthdecimal(15,8)0.000000000.00000000
heightdecimal(15,8)0.000000000.00000000
length_class_idint(11)00
subtracttinyint(1)11
maximumint(3)
commission_rateint(11)11
store_idint(11)00
sort_orderint(11)00
seo_orderfloat(11,4)0.00000.0000
okayapi_openant_product_statustinyint(1)0上下架0
viewedint(11)00
quantityint(11)
invalidtinyint(1)0永久屏蔽0
date_addeddatetime
date_modifieddatetime
date_invaliddatetime

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 ↑