remove file_md5 unique index

This commit is contained in:
thinkgem
2019-02-27 21:40:06 +08:00
parent 85790225af
commit 2ce628456f
14 changed files with 27 additions and 14 deletions

View File

@@ -0,0 +1,3 @@
-- 删除sys_file_entity表的file_md5唯一索引
-- ALTER TABLE [js_sys_file_entity] DROP CONSTRAINT [UQ__js_sys_f__3BD63C9E32E0915F]

View File

@@ -0,0 +1,5 @@
-- 删除sys_file_entity表的file_md5唯一索引
ALTER TABLE `js_sys_file_entity`
DROP INDEX `file_md5`,
ADD INDEX `file_md5`(`file_md5`);

View File

@@ -0,0 +1,3 @@
-- 删除sys_file_entity表的file_md5唯一索引
-- ALTER TABLE "JS_SYS_FILE_ENTITY" DROP CONSTRAINT "SYS_C0019398"

View File

@@ -0,0 +1,4 @@
-- 删除sys_file_entity表的file_md5唯一索引
ALTER TABLE "js_sys_file_entity"
DROP CONSTRAINT "js_sys_file_entity_file_md5_key";