build: v2.4 flyway
This commit is contained in:
parent
ac07c6b4c1
commit
5864c5eac3
|
@ -1 +1,16 @@
|
|||
-- v2.4.0 init
|
||||
-- v2.4.0 init
|
||||
--
|
||||
-- 通知表时间加索引
|
||||
CREATE INDEX notification_create_time_index
|
||||
ON notification (create_time);
|
||||
|
||||
-- v2-4-init-permission
|
||||
-- 创建人 liyuhao
|
||||
INSERT INTO user_group_permission (id, group_id, permission_id, module_id)
|
||||
SELECT UUID(), id, 'PROJECT_TRACK_PLAN:READ+BATCH_DELETE', 'PROJECT_TRACK_PLAN'
|
||||
FROM `group`
|
||||
WHERE type = 'PROJECT'
|
||||
AND `group`.id IN
|
||||
(SELECT group_id FROM user_group_permission WHERE permission_id = 'PROJECT_TRACK_PLAN:READ');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue