diff --git a/src/Model/Migration.hs b/src/Model/Migration.hs index 6dd91fa9b..6888a16a7 100644 --- a/src/Model/Migration.hs +++ b/src/Model/Migration.hs @@ -831,9 +831,6 @@ customMigrations = Map.fromListWith (>>) ALTER TABLE "file" RENAME TO "file_content"; DELETE FROM "file_content" WHERE "content" IS NULL OR "hash" IS NULL; |] - [executeQQ| - CREATE INDEX "file_content_hash_idx" ON "file_content" ("hash") INCLUDE ("id"); - |] [executeQQ| DELETE FROM "file_content" WHERE "id" IN ( @@ -852,7 +849,6 @@ customMigrations = Map.fromListWith (>>) WHERE t.rnum > 1); |] [executeQQ| - DROP INDEX "file_content_hash_idx"; ALTER TABLE "file_content" DROP COLUMN "title"; ALTER TABLE "file_content" DROP COLUMN "modified"; ALTER TABLE "file_content" DROP COLUMN "id";