+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:内容管理系统-内容模型列表:https://open.yesapi.cn/tablelist/yesapi_hkcms_model.html


-- 数据库大全:内容管理系统-内容模型列表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_hkcms_model` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `modelid` smallint(5) NOT NULL COMMENT '',
    `name` char(30) NOT NULL COMMENT '模型名称',
    `description` char(100) NOT NULL COMMENT '描述',
    `tablename` char(20) NOT NULL COMMENT '表名',
    `setting` text NOT NULL COMMENT '配置信息',
    `addtime` int(10) NOT NULL DEFAULT '0' COMMENT '添加时间',
    `items` smallint(5) NOT NULL DEFAULT '0' COMMENT '信息数',
    `enablesearch` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否开启全站搜索',
    `disabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否禁用 1禁用',
    `default_style` char(30) NOT NULL COMMENT '风格',
    `category_template` char(30) NOT NULL COMMENT '栏目模板',
    `list_template` char(30) NOT NULL COMMENT '列表模板',
    `show_template` char(30) NOT NULL COMMENT '内容模板',
    `js_template` varchar(30) NOT NULL COMMENT 'JS模板',
    `sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
    `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '模块标识',
    KEY `type` (`type`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '内容管理系统-内容模型列表';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-16 条, 共 16 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
modelidsmallint(5)无索引
namechar(30)模型名称无索引
descriptionchar(100)描述无索引
tablenamechar(20)表名无索引
settingtext配置信息无索引
addtimeint(10)0添加时间无索引0
itemssmallint(5)0信息数无索引0
enablesearchtinyint(1)1是否开启全站搜索无索引1
disabledtinyint(1)0是否禁用 1禁用无索引0
default_stylechar(30)风格无索引
category_templatechar(30)栏目模板无索引
list_templatechar(30)列表模板无索引
show_templatechar(30)内容模板无索引
js_templatevarchar(30)JS模板无索引
sorttinyint(3)0排序无索引0
typetinyint(1)0模块标识普通索引0

猜你喜欢

MySQL数据库设计 内容管理系统-角色权限表

MySQL数据库设计 内容管理系统-常用菜单

MySQL数据库设计 内容管理系统-附件表

MySQL数据库设计 内容管理系统-附件关系表

MySQL数据库设计 内容管理系统-系统行为表

MySQL数据库设计 内容管理系统-行为规则表

MySQL数据库设计 内容管理系统-缓存更新列队

MySQL数据库设计 内容管理系统-插件表

MySQL数据库设计 内容管理系统-栏目表

MySQL数据库设计 内容管理系统-栏目扩展字段列表

MySQL数据库设计 内容管理系统-栏目权限表

MySQL数据库设计 内容管理系统-网站配置表

MySQL数据库设计 内容管理系统-自定义列表

MySQL数据库设计 内容管理系统-自定义模板表

MySQL数据库设计 内容管理系统-信息锁定

MySQL数据库设计 内容管理系统-后台登陆日志表

MySQL数据库设计 内容管理系统-后台菜单表

MySQL数据库设计 内容管理系统-模型字段列表

MySQL数据库设计 内容管理系统-已安装模块列表

MySQL数据库设计 内容管理系统-后台操作日志表



回到顶部 ↑