|
@@ -259,4 +259,29 @@ CREATE TABLE `{table_prefix}user` (
|
|
|
KEY `created` (`created`),
|
|
KEY `created` (`created`),
|
|
|
KEY `content_count` (`content_count`),
|
|
KEY `content_count` (`content_count`),
|
|
|
KEY `comment_count` (`comment_count`)
|
|
KEY `comment_count` (`comment_count`)
|
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户信息表,保存用户信息。';
|
|
|
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户信息表,保存用户信息。';
|
|
|
|
|
+
|
|
|
|
|
+# Dump of table modconf
|
|
|
|
|
+# ------------------------------------------------------------
|
|
|
|
|
+
|
|
|
|
|
+DROP TABLE IF EXISTS `{table_prefix}modconf`;
|
|
|
|
|
+
|
|
|
|
|
+CREATE TABLE `{table_prefix}modconf` (
|
|
|
|
|
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id',
|
|
|
|
|
+ `title` varchar(100) NOT NULL COMMENT '模块名称',
|
|
|
|
|
+ `name` varchar(100) NOT NULL COMMENT '模块名称编码',
|
|
|
|
|
+ `has_contentList` int(2) NOT NULL DEFAULT '0' COMMENT '1,开启内容列表功能; 0,不开启',
|
|
|
|
|
+ `has_contentAdd` tinyint(2) NOT NULL DEFAULT '0' COMMENT '1,开启新增内容功能;0,冻结新增内容',
|
|
|
|
|
+ `isParent` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1,是父模块;0,不是父模块',
|
|
|
|
|
+ `parentId` tinyint(4) NOT NULL DEFAULT '0' COMMENT '父模块id',
|
|
|
|
|
+ `module_type` varchar(100) DEFAULT 'new' COMMENT 'module的类型',
|
|
|
|
|
+ `module_sort` int(10) DEFAULT NULL,
|
|
|
|
|
+ `status` tinyint(4) DEFAULT '1' COMMENT '1,代表常用启用.0,代表逻辑删除;',
|
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='模块信息表,保存模块管理信息。';
|
|
|
|
|
+
|
|
|
|
|
+# Init data of table modconf
|
|
|
|
|
+# ------------------------------------------------------------
|
|
|
|
|
+
|
|
|
|
|
+INSERT INTO `{table_prefix}modconf` (`id`, `title`, `name`, `has_contentList`, `has_contentAdd`, `isParent`, `parentId`, `module_type`, `module_sort`, `status`) VALUES ('1', '首页', 'index', '0', '0', '1', '0', 'picture', '1000', '1');
|
|
|
|
|
+INSERT INTO `{table_prefix}modconf` (`id`, `title`, `name`, `has_contentList`, `has_contentAdd`, `isParent`, `parentId`, `module_type`, `module_sort`, `status`) VALUES ('2', '首页banner轮播图', 'index_banner_carousel', '1', '1', '0', '1', 'picture', '1001', '1');
|