build: 增加 flyway

This commit is contained in:
CaptainB 2022-05-18 12:14:50 +08:00 committed by 刘瑞斌
parent 20f331b618
commit a49a2ac6c7
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
-- V117_v1-20-3_ui-element-permission
-- start
-- 项目管理员
insert into user_group_permission (id, group_id, permission_id, module_id)
values (UUID(), 'project_admin', 'PROJECT_UI_ELEMENT:READ+IMPORT', 'PROJECT_UI_ELEMENT');
insert into user_group_permission (id, group_id, permission_id, module_id)
values (UUID(), 'project_admin', 'PROJECT_UI_ELEMENT:READ+EXPORT', 'PROJECT_UI_ELEMENT');
-- 项目成员
insert into user_group_permission (id, group_id, permission_id, module_id)
values (UUID(), 'project_member', 'PROJECT_UI_ELEMENT:READ+IMPORT', 'PROJECT_UI_ELEMENT');
insert into user_group_permission (id, group_id, permission_id, module_id)
values (UUID(), 'project_member', 'PROJECT_UI_ELEMENT:READ+EXPORT', 'PROJECT_UI_ELEMENT');
-- end