File tree 1 file changed +3
-3
lines changed
dinky-admin/src/main/resources/db/migration/postgresql
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ COMMENT ON COLUMN public.dinky_approval.reviewer_comment IS 'reviewer comment';
51
51
COMMENT ON COLUMN public.dinky_approval.create_time IS ' create time' ;
52
52
COMMENT ON COLUMN public.dinky_approval.update_tIme IS ' update time' ;
53
53
54
- CREATE UNIQUE INDEX IF NOT EXISTS task_id_current_version_idx ON public .dinky_approval (task_id, current_task_version);
55
- CREATE UNIQUE INDEX IF NOT EXISTS tenant_id_submitter_union_idx ON public .dinky_approval (submitter, tenant_id);
56
- CREATE UNIQUE INDEX IF NOT EXISTS tenant_id_reviewer_union_idx ON public .dinky_approval (reviewer, tenant_id);
54
+ CREATE INDEX IF NOT EXISTS task_id_current_version_idx ON public .dinky_approval (task_id, current_task_version);
55
+ CREATE INDEX IF NOT EXISTS tenant_id_submitter_union_idx ON public .dinky_approval (submitter, tenant_id);
56
+ CREATE INDEX IF NOT EXISTS tenant_id_reviewer_union_idx ON public .dinky_approval (reviewer, tenant_id);
57
57
58
58
CREATE OR REPLACE TRIGGER set_update_time_dinky_approval
59
59
BEFORE UPDATE
You can’t perform that action at this time.
0 commit comments