Skip to content

Commit 31bef8d

Browse files
authored
fix: update migration with the "Drop/Add" index of SecretStore key (#1864)
1 parent 7ce8bd1 commit 31bef8d

File tree

1 file changed

+4
-7
lines changed
  • internal-packages/database/prisma/migrations/20250318163201_add_previous_snapshot_id_to_task_run_execution_snapshot

1 file changed

+4
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
-- DropIndex
2-
DROP INDEX "SecretStore_key_idx";
3-
41
-- AlterTable
5-
ALTER TABLE "TaskRunExecutionSnapshot" ADD COLUMN "previousSnapshotId" TEXT;
6-
7-
-- CreateIndex
8-
CREATE INDEX "SecretStore_key_idx" ON "SecretStore"("key" text_pattern_ops);
2+
ALTER TABLE
3+
"TaskRunExecutionSnapshot"
4+
ADD
5+
COLUMN "previousSnapshotId" TEXT;

0 commit comments

Comments
 (0)