ci(数据库初始化语句): 文件模块增加唯一索引

This commit is contained in:
song-tianyang 2023-12-19 17:46:02 +08:00 committed by 刘瑞斌
parent e584b70676
commit 786c6b2077
1 changed files with 1 additions and 0 deletions

View File

@ -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