+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_mcms_cms_category:/tablelist/okayapi_mcms_cms_category.html


-- MySQL Table okayapi_mcms_cms_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_mcms_cms_category` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `category_id` bigint(20) NULL COMMENT '所属栏目',
    `leaf` int(1) NULL COMMENT '是否是叶子节点',
    `top_id` bigint(20) NULL COMMENT '顶级id',
    `dict_id` int(11) NULL COMMENT '字典对应编号',
    `mdiy_model_id` int(11) NULL COMMENT '栏目管理的内容模型id',
    `category_parent_ids` varchar(255) NULL COMMENT '父类型编号,多个id逗号',
    `category_title` varchar(255) NULL COMMENT '栏目管理名称',
    `category_img` varchar(2000) NULL COMMENT '缩略图',
    `category_flag` varchar(255) NULL COMMENT '栏目属性',
    `category_descrip` varchar(500) NULL COMMENT '栏目管理描述',
    `category_keyword` varchar(300) NULL COMMENT '栏目管理关键字',
    `category_path` varchar(255) NULL COMMENT '栏目路径',
    `category_diy_url` varchar(255) NULL COMMENT '自定义链接',
    `category_url` varchar(50) NULL COMMENT '内容模板',
    `category_list_url` varchar(50) NULL COMMENT '列表模板',
    `category_type` varchar(10) NULL COMMENT '栏目管理属性',
    `category_pinyin` varchar(255) NULL COMMENT '栏目拼音',
    `category_datetime` datetime NULL COMMENT '类别发布时间',
    `category_sort` int(11) NULL 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 `leaf` (`leaf`),
    KEY `top_id` (`top_id`),
    KEY `dict_id` (`dict_id`),
    KEY `mdiy_model_id` (`mdiy_model_id`),
    KEY `category_parent_ids` (`category_parent_ids`),
    KEY `category_title` (`category_title`),
    KEY `category_img` (`category_img`),
    KEY `category_flag` (`category_flag`),
    KEY `category_descrip` (`category_descrip`),
    KEY `category_keyword` (`category_keyword`),
    KEY `category_path` (`category_path`),
    KEY `category_diy_url` (`category_diy_url`),
    KEY `category_url` (`category_url`),
    KEY `category_list_url` (`category_list_url`),
    KEY `category_type` (`category_type`),
    KEY `category_pinyin` (`category_pinyin`),
    KEY `category_datetime` (`category_datetime`),
    KEY `category_sort` (`category_sort`),
    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-24 of 24 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
category_idbigint(20)所属栏目Normal Index
leafint(1)是否是叶子节点
top_idbigint(20)顶级id
dict_idint(11)字典对应编号
mdiy_model_idint(11)栏目管理的内容模型id
category_parent_idsvarchar(255)父类型编号,多个id逗号
category_titlevarchar(255)栏目管理名称
category_imgvarchar(2000)缩略图
category_flagvarchar(255)栏目属性
category_descripvarchar(500)栏目管理描述
category_keywordvarchar(300)栏目管理关键字
category_pathvarchar(255)栏目路径
category_diy_urlvarchar(255)自定义链接
category_urlvarchar(50)内容模板
category_list_urlvarchar(50)列表模板
category_typevarchar(10)栏目管理属性
category_pinyinvarchar(255)栏目拼音
category_datetimedatetime类别发布时间
category_sortint(11)自定义顺序
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_content

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 ↑