Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform2
Commits
dca0953b
Commit
dca0953b
authored
4 years ago
by
gavin2lee
Browse files
Options
Download
Email Patches
Plain Diff
#1859 add sql scripts
parent
c5974b88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform-core/src/main/resources/db/upgrade/wecube_platform_core_2.6.0.sql
+7
-8
.../main/resources/db/upgrade/wecube_platform_core_2.6.0.sql
with
7 additions
and
8 deletions
+7
-8
platform-core/src/main/resources/db/upgrade/wecube_platform_core_2.6.0.sql
+
7
-
8
View file @
dca0953b
...
...
@@ -17,13 +17,12 @@ delete from plugin_config_roles where created_by = 'bootScript';
insert
into
plugin_config_roles
(
id
,
created_by
,
created_time
,
is_active
,
perm_type
,
plugin_cfg_id
,
role_id
,
role_name
)
select
uuid
()
as
id
,
'bootScript'
as
created_by
,
sysdate
(),
1
as
is_actvie
,
'MGMT'
as
perm_type
,
t
.
id
as
plugin_cfg_id
,
'2c9280827019695c017019ac974f001c'
as
role_id
,
'SUPER_ADMIN'
as
role_name
select
uuid
()
as
id
,
'bootScript'
as
created_by
,
sysdate
(),
1
as
is_actvie
,
'MGMT'
as
perm_type
,
t
.
id
as
plugin_cfg_id
,
'2c9280827019695c017019ac974f001c'
as
role_id
,
'SUPER_ADMIN'
as
role_name
from
plugin_configs
t
where
t
.
register_name
is
not
null
;
insert
into
plugin_config_roles
(
id
,
created_by
,
created_time
,
is_active
,
perm_type
,
plugin_cfg_id
,
role_id
,
role_name
)
select
uuid
()
as
id
,
'bootScript'
as
created_by
,
sysdate
(),
1
as
is_actvie
,
'USE'
as
perm_type
,
t
.
id
as
plugin_cfg_id
,
'2c9280827019695c017019ac974f001c'
as
role_id
,
'SUPER_ADMIN'
as
role_name
from
plugin_configs
t
where
t
.
register_name
is
not
null
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help