+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_openant_product_discount:/tablelist/okayapi_openant_product_discount.html


-- MySQL Table okayapi_openant_product_discount
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_product_discount` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `product_discount_id` int(11) NOT NULL COMMENT '',
    `product_id` int(11) NOT NULL COMMENT '',
    `user_class_id` int(11) NOT NULL COMMENT '',
    `quantity` int(4) NOT NULL DEFAULT '0' COMMENT '',
    `okayapi_openant_product_discount_value` decimal(15,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `date_start` datetime NOT NULL COMMENT '',
    `date_end` datetime NOT NULL COMMENT '',
    KEY `product_discount_id` (`product_discount_id`),
    KEY `product_id` (`product_id`),
    KEY `user_class_id` (`user_class_id`),
    KEY `quantity` (`quantity`),
    KEY `okayapi_openant_product_discount_value` (`okayapi_openant_product_discount_value`),
    KEY `date_start` (`date_start`),
    KEY `date_end` (`date_end`),
    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-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
product_discount_idint(11)
product_idint(11)
user_class_idint(11)
quantityint(4)00
okayapi_openant_product_discount_valuedecimal(15,4)0.00000.0000
date_startdatetime
date_enddatetime

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 ↑