+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_answer:/tablelist/okayapi_shopxo_s_answer.html


-- MySQL Table okayapi_shopxo_s_answer
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_answer` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
    `okayapi_shopxo_s_answer_name` char(30) NOT NULL COMMENT '联系人',
    `tel` char(20) NOT NULL COMMENT '联系电话',
    `title` char(60) NOT NULL COMMENT '标题',
    `content` text NOT NULL COMMENT '详细内容',
    `reply` text NOT NULL COMMENT '回复内容',
    `is_reply` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否已回复(0否, 1是)',
    `reply_time` int(11) NOT NULL DEFAULT '0' COMMENT '回复时间',
    `is_show` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否显示(0不显示, 1显示)',
    `access_count` int(11) NOT NULL DEFAULT '0' COMMENT '访问次数',
    `upd_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
    KEY `user_id` (`user_id`),
    KEY `okayapi_shopxo_s_answer_name` (`okayapi_shopxo_s_answer_name`),
    KEY `tel` (`tel`),
    KEY `title` (`title`),
    KEY `content` (`content`),
    KEY `reply` (`reply`),
    KEY `is_reply` (`is_reply`),
    KEY `reply_time` (`reply_time`),
    KEY `is_show` (`is_show`),
    KEY `access_count` (`access_count`),
    KEY `upd_time` (`upd_time`),
    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-11 of 11 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idint(11)0用户id0
okayapi_shopxo_s_answer_namechar(30)联系人Normal Index
telchar(20)联系电话
titlechar(60)标题
contenttext详细内容
replytext回复内容
is_replytinyint(1)0是否已回复(0否, 1是)0
reply_timeint(11)0回复时间0
is_showtinyint(1)0是否显示(0不显示, 1显示)Normal Index0
access_countint(11)0访问次数0
upd_timeint(11)0更新时间0

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_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 ↑