+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_mcms_cms_content:/tablelist/okayapi_mcms_cms_content.html


-- MySQL Table okayapi_mcms_cms_content
-- From: OkayAPI.com
CREATE TABLE `okayapi_mcms_cms_content` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `category_id` bigint(20) NULL COMMENT '所属栏目',
    `content_details` longtext NULL COMMENT '文章内容',
    `content_title` varchar(255) NULL COMMENT '文章标题',
    `content_url` varchar(255) NULL COMMENT '文章跳转链接地址',
    `content_keyword` varchar(255) NULL COMMENT '关键字',
    `content_description` varchar(400) NULL COMMENT '描述',
    `content_img` varchar(1000) NULL COMMENT '文章缩略图',
    `content_source` varchar(255) NULL COMMENT '文章来源',
    `content_author` varchar(255) NULL COMMENT '文章作者',
    `content_display` varchar(10) NULL COMMENT '是否显示',
    `content_type` varchar(100) NULL COMMENT '文章类型',
    `content_datetime` datetime NULL COMMENT '发布时间',
    `content_sort` int(11) NULL COMMENT '自定义顺序',
    `content_hit` int(22) NULL DEFAULT '0' COMMENT '点击次数',
    `update_date` datetime NULL COMMENT '修改时间',
    `update_by` varchar(11) NULL COMMENT '修改人',
    `create_date` datetime NULL COMMENT '创建时间',
    `create_by` varchar(11) NULL COMMENT '创建人',
    `del` int(1) NULL DEFAULT '0' COMMENT '删除标记',
    KEY `category_id` (`category_id`),
    KEY `content_details` (`content_details`),
    KEY `content_title` (`content_title`),
    KEY `content_url` (`content_url`),
    KEY `content_keyword` (`content_keyword`),
    KEY `content_description` (`content_description`),
    KEY `content_img` (`content_img`),
    KEY `content_source` (`content_source`),
    KEY `content_author` (`content_author`),
    KEY `content_display` (`content_display`),
    KEY `content_type` (`content_type`),
    KEY `content_datetime` (`content_datetime`),
    KEY `content_sort` (`content_sort`),
    KEY `content_hit` (`content_hit`),
    KEY `update_date` (`update_date`),
    KEY `update_by` (`update_by`),
    KEY `create_date` (`create_date`),
    KEY `create_by` (`create_by`),
    KEY `del` (`del`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'MCSM-文章';

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


MySQL database table structure design

Displaying 1-19 of 19 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
category_idbigint(20)所属栏目Normal Index
content_detailslongtext文章内容
content_titlevarchar(255)文章标题
content_urlvarchar(255)文章跳转链接地址
content_keywordvarchar(255)关键字
content_descriptionvarchar(400)描述
content_imgvarchar(1000)文章缩略图
content_sourcevarchar(255)文章来源
content_authorvarchar(255)文章作者
content_displayvarchar(10)是否显示
content_typevarchar(100)文章类型
content_datetimedatetime发布时间
content_sortint(11)自定义顺序
content_hitint(22)0点击次数0
update_datedatetime修改时间
update_byvarchar(11)修改人
create_datedatetime创建时间
create_byvarchar(11)创建人
delint(1)0删除标记0

Guess You Like

MySQL Table Design okayapi_mcms_app

MySQL Table Design okayapi_mcms_cms_category

MySQL Table Design okayapi_mcms_cms_history_log

MySQL Table Design okayapi_mcms_logger

MySQL Table Design okayapi_mcms_manager

MySQL Table Design okayapi_mcms_mdiy_dict

MySQL Table Design okayapi_mcms_mdiy_model

MySQL Table Design okayapi_mcms_mdiy_page

MySQL Table Design okayapi_mcms_mdiy_tag

MySQL Table Design okayapi_mcms_mdiy_tag_sql

MySQL Table Design okayapi_mcms_model

MySQL Table Design okayapi_mcms_role

MySQL Table Design okayapi_mcms_role_model

TOP ↑