更新基础数据
This commit is contained in:
parent
f46096a423
commit
5b7d9e8a04
|
@ -10,7 +10,7 @@ Target Server Type : MYSQL
|
|||
Target Server Version : 50621
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2017-02-26 01:13:42
|
||||
Date: 2017-02-26 17:36:29
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
@ -437,30 +437,27 @@ CREATE TABLE `upms_permission` (
|
|||
PRIMARY KEY (`permission_id`),
|
||||
KEY `FK_Reference_29` (`system_id`),
|
||||
CONSTRAINT `FK_Reference_29` FOREIGN KEY (`system_id`) REFERENCES `upms_system` (`system_id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COMMENT='权限';
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4 COMMENT='权限';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of upms_permission
|
||||
-- ----------------------------
|
||||
INSERT INTO `upms_permission` VALUES ('1', '1', null, '系统组织管理', '1', '', '', 'zmdi zmdi-accounts-list', '1', '1', '1');
|
||||
INSERT INTO `upms_permission` VALUES ('1', '1', '0', '系统组织管理', '1', '', '', 'zmdi zmdi-accounts-list', '1', '1', '1');
|
||||
INSERT INTO `upms_permission` VALUES ('2', '1', '1', '系统管理', '2', 'upms:system:read', '/manage/system/index', '', '1', '2', '2');
|
||||
INSERT INTO `upms_permission` VALUES ('3', '1', '1', '组织管理', '2', 'upms:organization:read', '/manage/organization/index', '', '1', '3', '3');
|
||||
INSERT INTO `upms_permission` VALUES ('4', '1', null, '角色用户管理', '1', '', '', 'zmdi zmdi-accounts', '1', '4', '4');
|
||||
INSERT INTO `upms_permission` VALUES ('4', '1', '0', '角色用户管理', '1', '', '', 'zmdi zmdi-accounts', '1', '4', '4');
|
||||
INSERT INTO `upms_permission` VALUES ('5', '1', '4', '角色管理', '2', 'upms:role:read', '/manage/role/index', '', '1', '6', '6');
|
||||
INSERT INTO `upms_permission` VALUES ('6', '1', '4', '用户管理', '2', 'upms:user:read', '/manage/user/index', '', '1', '5', '5');
|
||||
INSERT INTO `upms_permission` VALUES ('7', '1', null, '权限资源管理', '1', '', '', 'zmdi zmdi-lock-outline', '1', '7', '7');
|
||||
INSERT INTO `upms_permission` VALUES ('9', '1', null, '权限分配管理', '1', '', '', 'zmdi zmdi-key', '1', '9', '9');
|
||||
INSERT INTO `upms_permission` VALUES ('10', '1', '9', '角色授权', '2', 'upms:role_permission:read', '/manage/role_permission/index', '', '1', '10', '10');
|
||||
INSERT INTO `upms_permission` VALUES ('11', '1', '9', '用户授权', '2', 'upms:user_permission:read', '/manage/user_permission/index', '', '1', '11', '11');
|
||||
INSERT INTO `upms_permission` VALUES ('12', '1', null, '其他数据管理', '1', '', '', 'zmdi zmdi-more', '1', '12', '12');
|
||||
INSERT INTO `upms_permission` VALUES ('7', '1', '0', '权限资源管理', '1', '', '', 'zmdi zmdi-lock-outline', '1', '7', '7');
|
||||
INSERT INTO `upms_permission` VALUES ('12', '1', '0', '其他数据管理', '1', '', '', 'zmdi zmdi-more', '1', '12', '12');
|
||||
INSERT INTO `upms_permission` VALUES ('13', '1', '12', '公共码表', '2', 'upms:coder:read', '/manage/coder/index', '', '1', '13', '13');
|
||||
INSERT INTO `upms_permission` VALUES ('14', '1', '12', '会话管理', '2', 'upms:session:read', '/manage/session/index', '', '1', '14', '14');
|
||||
INSERT INTO `upms_permission` VALUES ('15', '1', '12', '日志记录', '2', 'upms:log:read', '/manage/log/index', '', '1', '15', '15');
|
||||
INSERT INTO `upms_permission` VALUES ('16', '1', '12', '键值设置', '2', 'upms:map:read', '/manage/map/index', '', '1', '16', '16');
|
||||
INSERT INTO `upms_permission` VALUES ('17', '2', null, '标签类目管理', '1', null, null, 'zmdi zmdi-menu', '1', '17', '17');
|
||||
INSERT INTO `upms_permission` VALUES ('17', '2', '0', '标签类目管理', '1', null, null, 'zmdi zmdi-menu', '1', '17', '17');
|
||||
INSERT INTO `upms_permission` VALUES ('18', '2', '17', '标签管理', '2', 'cms:tag:read', '/manage/tag/index', null, '1', '18', '18');
|
||||
INSERT INTO `upms_permission` VALUES ('19', '2', '17', '类目管理', '2', 'cms:category:read', '/manage/category/index', null, '1', '19', '19');
|
||||
INSERT INTO `upms_permission` VALUES ('20', '2', null, '文章内容管理', '1', null, null, 'zmdi zmdi-collection-text', '1', '20', '20');
|
||||
INSERT INTO `upms_permission` VALUES ('20', '2', '0', '文章内容管理', '1', null, null, 'zmdi zmdi-collection-text', '1', '20', '20');
|
||||
INSERT INTO `upms_permission` VALUES ('21', '2', '20', '文章管理', '2', 'cms:article:read', '/manage/article/index', null, '1', '21', '21');
|
||||
INSERT INTO `upms_permission` VALUES ('22', '2', '20', '回收管理', '2', 'cms:article:read', '/manage/article/recycle', null, '1', '22', '22');
|
||||
INSERT INTO `upms_permission` VALUES ('24', '1', '2', '新增系统', '3', 'upms:system:create', '/manage/system/create', 'zmdi zmdi-plus', '1', '24', '24');
|
||||
|
@ -479,6 +476,8 @@ INSERT INTO `upms_permission` VALUES ('36', '1', '39', '新增权限', '3', 'upm
|
|||
INSERT INTO `upms_permission` VALUES ('37', '1', '39', '编辑权限', '3', 'upms:permission:update', '/manage/permission/update', 'zmdi zmdi-edit', '1', '37', '37');
|
||||
INSERT INTO `upms_permission` VALUES ('38', '1', '39', '删除权限', '3', 'upms:permission:delete', '/manage/permission/delete', 'zmdi zmdi-close', '1', '38', '38');
|
||||
INSERT INTO `upms_permission` VALUES ('39', '1', '7', '权限管理', '2', 'upms:permission:read', '/manage/permission/index', null, '1', '39', '39');
|
||||
INSERT INTO `upms_permission` VALUES ('46', '1', '5', '角色授权', '3', 'upms:role:permission', '/manage/role/permission', 'zmdi zmdi-key', '1', '1488091928257', '1488091928257');
|
||||
INSERT INTO `upms_permission` VALUES ('47', '1', '6', '用户授权', '3', 'upms:user:permission', '/manage/user/permission', 'zmdi zmdi-key', '1', '1488092013302', '1488092013302');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for upms_role
|
||||
|
@ -511,7 +510,7 @@ CREATE TABLE `upms_role_permission` (
|
|||
PRIMARY KEY (`role_permission_id`),
|
||||
KEY `FK_Reference_23` (`role_id`),
|
||||
CONSTRAINT `FK_Reference_23` FOREIGN KEY (`role_id`) REFERENCES `upms_role` (`role_id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COMMENT='角色权限关联表';
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb4 COMMENT='角色权限关联表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of upms_role_permission
|
||||
|
@ -524,9 +523,6 @@ INSERT INTO `upms_role_permission` VALUES ('5', '1', '5');
|
|||
INSERT INTO `upms_role_permission` VALUES ('6', '1', '6');
|
||||
INSERT INTO `upms_role_permission` VALUES ('7', '1', '7');
|
||||
INSERT INTO `upms_role_permission` VALUES ('8', '1', '39');
|
||||
INSERT INTO `upms_role_permission` VALUES ('9', '1', '9');
|
||||
INSERT INTO `upms_role_permission` VALUES ('10', '1', '10');
|
||||
INSERT INTO `upms_role_permission` VALUES ('11', '1', '11');
|
||||
INSERT INTO `upms_role_permission` VALUES ('12', '1', '12');
|
||||
INSERT INTO `upms_role_permission` VALUES ('13', '1', '13');
|
||||
INSERT INTO `upms_role_permission` VALUES ('14', '1', '14');
|
||||
|
@ -553,6 +549,8 @@ INSERT INTO `upms_role_permission` VALUES ('35', '1', '35');
|
|||
INSERT INTO `upms_role_permission` VALUES ('36', '1', '36');
|
||||
INSERT INTO `upms_role_permission` VALUES ('37', '1', '37');
|
||||
INSERT INTO `upms_role_permission` VALUES ('38', '1', '38');
|
||||
INSERT INTO `upms_role_permission` VALUES ('39', '1', '46');
|
||||
INSERT INTO `upms_role_permission` VALUES ('40', '1', '47');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for upms_system
|
||||
|
|
Loading…
Reference in New Issue