+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_openant_product_review:/tablelist/okayapi_openant_product_review.html


-- MySQL Table okayapi_openant_product_review
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_product_review` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `review_id` int(11) NOT NULL COMMENT '',
    `product_id` int(11) NOT NULL COMMENT '',
    `user_id` int(11) NOT NULL COMMENT '',
    `author` varchar(64) NOT NULL COMMENT '',
    `okayapi_openant_product_review_text` text NOT NULL COMMENT '',
    `rating` int(1) NOT NULL COMMENT '',
    `okayapi_openant_product_review_status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
    `date_added` datetime NOT NULL COMMENT '',
    `date_modified` datetime NOT NULL COMMENT '',
    KEY `review_id` (`review_id`),
    KEY `product_id` (`product_id`),
    KEY `user_id` (`user_id`),
    KEY `author` (`author`),
    KEY `okayapi_openant_product_review_text` (`okayapi_openant_product_review_text`),
    KEY `rating` (`rating`),
    KEY `okayapi_openant_product_review_status` (`okayapi_openant_product_review_status`),
    KEY `date_added` (`date_added`),
    KEY `date_modified` (`date_modified`),
    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-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
review_idint(11)
product_idint(11)
user_idint(11)
authorvarchar(64)
okayapi_openant_product_review_texttext
ratingint(1)
okayapi_openant_product_review_statustinyint(1)00
date_addeddatetime
date_modifieddatetime

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 ↑