mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
fix: flyway 升级调整
This commit is contained in:
parent
728fe69086
commit
b2df39b1b5
@ -523,6 +523,15 @@ SET project.issue_template_id = issue_template.id
|
||||
WHERE issue_template_id IS NOT NULL
|
||||
AND issue_template.id LIKE CONCAT(issue_template_id, '%');
|
||||
|
||||
|
||||
UPDATE project JOIN test_case_template ON project.id = test_case_template.project_id
|
||||
SET case_template_id = test_case_template.id
|
||||
WHERE case_template_id IS NULL AND test_case_template.`system` = 1;
|
||||
|
||||
UPDATE project JOIN issue_template ON project.id = issue_template.project_id
|
||||
SET issue_template_id = issue_template.id
|
||||
WHERE issue_template_id IS NULL AND issue_template.`system` = 1;
|
||||
|
||||
-- 默认设置权限
|
||||
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||
VALUES (UUID(), 'project_admin', 'PROJECT_TEMPLATE:READ+CASE_TEMPLATE', 'PROJECT_TEMPLATE');
|
||||
|
Loading…
Reference in New Issue
Block a user