+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_goods_comment:/tablelist/okayapi_goods_comment.html


-- MySQL Table okayapi_goods_comment
-- From: OkayAPI.com
CREATE TABLE `okayapi_goods_comment` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `comment_goods_id` int(10) NULL COMMENT '商品编号',
    `comment_goods` varchar(255) NULL COMMENT '商品名称',
    `comment_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '评价时间',
    `comment_buyer` varchar(50) NULL COMMENT '购买人',
    `comment_desc` text NULL COMMENT '评价内容',
    `comment_rank` int(4) NULL COMMENT '评价等级,0表示非常差,1表示差,2表示一般,3表示好,4表示非常好',
    KEY `comment_goods_id` (`comment_goods_id`),
    KEY `comment_goods` (`comment_goods`),
    KEY `comment_time` (`comment_time`),
    KEY `comment_buyer` (`comment_buyer`),
    KEY `comment_desc` (`comment_desc`),
    KEY `comment_rank` (`comment_rank`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '商品评价';

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


MySQL database table structure design

Displaying 1-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
comment_goods_idint(10)商品编号
comment_goodsvarchar(255)商品名称
comment_timetimestampCURRENT_TIMESTAMP评价时间CURRENT_TIMESTAMP
comment_buyervarchar(50)购买人
comment_desctext评价内容
comment_rankint(4)评价等级,0表示非常差,1表示差,2表示一般,3表示好,4表示非常好

Guess You Like

MySQL Table Design okayapi_goods

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

MySQL Table Design okayapi_shopxo_s_goods_content_app

TOP ↑