Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
srm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
aship
srm
Commits
7c750f99
Commit
7c750f99
authored
Jul 08, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认角色 sql
parent
fd5d41c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
V2017.024__CREATE_AUTHORITY_TABLES.sql
upgrade/sql/mysql/V2017.024__CREATE_AUTHORITY_TABLES.sql
+4
-0
No files found.
upgrade/sql/mysql/V2017.024__CREATE_AUTHORITY_TABLES.sql
View file @
7c750f99
...
...
@@ -4,6 +4,10 @@ CREATE TABLE IF NOT EXISTS `srm_acl_role` (
`status`
TINYINT
(
1
)
NOT
NULL
DEFAULT
1
)
ENGINE
=
InnoDB
DEFAULT
CHARACTER
SET
utf8
,
COLLATE
utf8_general_ci
ROW_FORMAT
=
COMPRESSED
;
INSERT
INTO
srm_acl_role
(
id
,
name
,
status
)
VALUES
(
1
,
'供应商用户'
,
1
);
INSERT
INTO
srm_acl_role
(
id
,
name
,
status
)
VALUES
(
2
,
'采购用户'
,
1
);
INSERT
INTO
srm_acl_role
(
id
,
name
,
status
)
VALUES
(
3
,
'供应商调查填报'
,
1
);
CREATE
TABLE
IF
NOT
EXISTS
`srm_acl_role_acl_sid_map`
(
`id`
BIGINT
(
20
)
NOT
NULL
AUTO_INCREMENT
PRIMARY
KEY
,
`role_id`
BIGINT
(
20
)
NOT
NULL
,
...
...
Write
Preview
Markdown
is supported
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