ci(数据库初始化语句): 文件模块增加唯一索引
This commit is contained in:
parent
e584b70676
commit
786c6b2077
|
@ -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_update_timed ON file_module (update_time desc);
|
||||||
CREATE INDEX idx_pos ON file_module (pos);
|
CREATE INDEX idx_pos ON file_module (pos);
|
||||||
CREATE INDEX idx_create_user ON file_module (create_user);
|
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
|
CREATE TABLE IF NOT EXISTS project
|
||||||
|
|
Loading…
Reference in New Issue