+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_kite_document_comments:/tablelist/okayapi_kite_document_comments.html


-- MySQL Table okayapi_kite_document_comments
-- From: OkayAPI.com
CREATE TABLE `okayapi_kite_document_comments` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `site_id` int(11) NULL COMMENT '网站ID',
    `pid` int(11) NULL DEFAULT '0' COMMENT '评论上级ID',
    `uid` int(11) NULL COMMENT '评论人mid ',
    `document_id` int(11) NULL COMMENT '评论文档ID',
    `content` text NULL COMMENT '评论内容',
    `status` tinyint(1) NULL DEFAULT '0' COMMENT '0 隐藏 1 显示',
    `create_at` int(11) NULL COMMENT '创建时间',
    `update_at` int(11) NULL COMMENT '更新时间',
    KEY `site_id` (`site_id`),
    KEY `pid` (`pid`),
    KEY `uid` (`uid`),
    KEY `document_id` (`document_id`),
    KEY `content` (`content`),
    KEY `status` (`status`),
    KEY `create_at` (`create_at`),
    KEY `update_at` (`update_at`),
    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-8 of 8 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
site_idint(11)网站ID
pidint(11)0评论上级ID0
uidint(11)评论人mid
document_idint(11)评论文档ID
contenttext评论内容
statustinyint(1)00 隐藏 1 显示0
create_atint(11)创建时间
update_atint(11)更新时间

Guess You Like

MySQL Table Design okayapi_kite_addons

MySQL Table Design okayapi_kite_auth_role

MySQL Table Design okayapi_kite_auth_rule

MySQL Table Design okayapi_kite_auth_user

MySQL Table Design okayapi_kite_block

MySQL Table Design okayapi_kite_document_category

MySQL Table Design okayapi_kite_document_comments_like

MySQL Table Design okayapi_kite_document_content

MySQL Table Design okayapi_kite_document_content_extra

MySQL Table Design okayapi_kite_document_content_like

MySQL Table Design okayapi_kite_document_field

MySQL Table Design okayapi_kite_document_model

MySQL Table Design okayapi_kite_document_model_field

MySQL Table Design okayapi_kite_feedback

MySQL Table Design okayapi_kite_hooks

MySQL Table Design okayapi_kite_language

MySQL Table Design okayapi_kite_link

MySQL Table Design okayapi_kite_log

MySQL Table Design okayapi_kite_message

MySQL Table Design okayapi_kite_navigation

TOP ↑