From 786c6b2077ff905a9ad8846017b79a9874189d8b Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Tue, 19 Dec 2023 17:46:02 +0800 Subject: [PATCH] =?UTF-8?q?ci(=E6=95=B0=E6=8D=AE=E5=BA=93=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E8=AF=AD=E5=8F=A5):=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=A2=9E=E5=8A=A0=E5=94=AF=E4=B8=80=E7=B4=A2?= =?UTF-8?q?=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migration/3.0.0/ddl/V3.0.0_4__project_management.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_management.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_management.sql index 777b3cd687..d8c62b7079 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_management.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_management.sql @@ -141,6 +141,7 @@ CREATE INDEX idx_create_time ON file_module (create_time desc); CREATE INDEX idx_update_timed ON file_module (update_time desc); CREATE INDEX idx_pos ON file_module (pos); CREATE INDEX idx_create_user ON file_module (create_user); +CREATE UNIQUE INDEX uq_name_project_parent_type ON file_module (project_id, name, module_type, parent_id); CREATE TABLE IF NOT EXISTS project