Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
552417c1
Commit
552417c1
authored
Nov 26, 2020
by
zhengjie
Browse files
[代码优化](v2.6):update eladmin.sql
close
https://github.com/elunez/eladmin/issues/532
parent
0a7c5be1
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/eladmin.sql
View file @
552417c1
...
...
@@ -510,7 +510,7 @@ CREATE TABLE `sys_role` (
-- ----------------------------
BEGIN
;
INSERT
INTO
`sys_role`
VALUES
(
1
,
'超级管理员'
,
1
,
'-'
,
'全部'
,
NULL
,
'admin'
,
'2018-11-23 11:04:37'
,
'2020-08-06 16:10:24'
);
INSERT
INTO
`sys_role`
VALUES
(
2
,
'普通用户'
,
2
,
'-'
,
'
自定义
'
,
NULL
,
'admin'
,
'2018-11-23 13:09:06'
,
'2020-09-05 10:45:12'
);
INSERT
INTO
`sys_role`
VALUES
(
2
,
'普通用户'
,
2
,
'-'
,
'
本级
'
,
NULL
,
'admin'
,
'2018-11-23 13:09:06'
,
'2020-09-05 10:45:12'
);
COMMIT
;
-- ----------------------------
...
...
@@ -524,13 +524,6 @@ CREATE TABLE `sys_roles_depts` (
KEY
`FK7qg6itn5ajdoa9h9o78v9ksur`
(
`dept_id`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
ROW_FORMAT
=
COMPACT
COMMENT
=
'角色部门关联'
;
-- ----------------------------
-- Records of sys_roles_depts
-- ----------------------------
BEGIN
;
INSERT
INTO
`sys_roles_depts`
VALUES
(
2
,
6
);
COMMIT
;
-- ----------------------------
-- Table structure for sys_roles_menus
-- ----------------------------
...
...
@@ -829,4 +822,4 @@ CREATE TABLE `tool_qiniu_content` (
BEGIN
;
COMMIT
;
SET
FOREIGN_KEY_CHECKS
=
1
;
SET
FOREIGN_KEY_CHECKS
=
1
;
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment