+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_kite_document_content:/tablelist/okayapi_kite_document_content.html


-- MySQL Table okayapi_kite_document_content
-- From: OkayAPI.com
CREATE TABLE `okayapi_kite_document_content` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `cid` int(11) NULL DEFAULT '0' COMMENT '文档分类ID',
    `site_id` int(11) NULL COMMENT '内容归属站点',
    `uid` int(11) NULL COMMENT '后台管理员发布者 UID',
    `title` varchar(255) NULL COMMENT '文档标题',
    `keywords` varchar(255) NULL COMMENT '文档关键词',
    `description` varchar(255) NULL COMMENT '描述',
    `content` longtext NULL COMMENT '文档内容',
    `image` varchar(255) NULL COMMENT '文档封面',
    `attach` varchar(255) NULL COMMENT '文件',
    `album` text NULL COMMENT '图片集合',
    `status` tinyint(1) NULL DEFAULT '0' COMMENT '0 待审 1通过',
    `image_flag` tinyint(1) NULL DEFAULT '0' COMMENT '图片类型标识',
    `video_flag` tinyint(1) NULL DEFAULT '0' COMMENT '视频类型标识',
    `attach_flag` tinyint(1) NULL DEFAULT '0' COMMENT '附件类型标识',
    `hot_flag` tinyint(1) NULL DEFAULT '0' COMMENT '热门标识',
    `recommend_flag` tinyint(1) NULL DEFAULT '0' COMMENT '推荐标识',
    `focus_flag` tinyint(1) NULL DEFAULT '0' COMMENT '焦点标识',
    `top_flag` tinyint(1) NULL DEFAULT '0' COMMENT '置顶标识',
    `pv` int(11) NULL DEFAULT '0' COMMENT '访问次数',
    `price` decimal(8,2) NULL DEFAULT '0.00' COMMENT '售价',
    `role_id` int(11) NULL DEFAULT '0' COMMENT '阅读权限限 0:游客组',
    `create_at` int(11) NULL COMMENT '创建时间',
    `update_at` int(11) NULL COMMENT '更新时间',
    KEY `cid` (`cid`),
    KEY `site_id` (`site_id`),
    KEY `uid` (`uid`),
    KEY `title` (`title`),
    KEY `keywords` (`keywords`),
    KEY `description` (`description`),
    KEY `content` (`content`),
    KEY `image` (`image`),
    KEY `attach` (`attach`),
    KEY `album` (`album`),
    KEY `status` (`status`),
    KEY `image_flag` (`image_flag`),
    KEY `video_flag` (`video_flag`),
    KEY `attach_flag` (`attach_flag`),
    KEY `hot_flag` (`hot_flag`),
    KEY `recommend_flag` (`recommend_flag`),
    KEY `focus_flag` (`focus_flag`),
    KEY `top_flag` (`top_flag`),
    KEY `pv` (`pv`),
    KEY `price` (`price`),
    KEY `role_id` (`role_id`),
    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-23 of 23 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
cidint(11)0文档分类ID0
site_idint(11)内容归属站点Normal Index
uidint(11)后台管理员发布者 UID
titlevarchar(255)文档标题Normal Index
keywordsvarchar(255)文档关键词
descriptionvarchar(255)描述
contentlongtext文档内容
imagevarchar(255)文档封面
attachvarchar(255)文件
albumtext图片集合
statustinyint(1)00 待审 1通过0
image_flagtinyint(1)0图片类型标识0
video_flagtinyint(1)0视频类型标识0
attach_flagtinyint(1)0附件类型标识0
hot_flagtinyint(1)0热门标识0
recommend_flagtinyint(1)0推荐标识0
focus_flagtinyint(1)0焦点标识0
top_flagtinyint(1)0置顶标识0
pvint(11)0访问次数0
pricedecimal(8,2)0.00售价0.00
role_idint(11)0阅读权限限 0:游客组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

MySQL Table Design okayapi_kite_document_comments_like

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 ↑