From 1784c5b386b15cd6843f7bf8a93e6829181f5c72 Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Wed, 2 Apr 2025 10:41:34 +0100 Subject: [PATCH] fix: update migration with the "Drop/Add" index of SecretStore key --- .../migration.sql | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/internal-packages/database/prisma/migrations/20250318163201_add_previous_snapshot_id_to_task_run_execution_snapshot/migration.sql b/internal-packages/database/prisma/migrations/20250318163201_add_previous_snapshot_id_to_task_run_execution_snapshot/migration.sql index 1f979fd2e0..e80e4dca3f 100644 --- a/internal-packages/database/prisma/migrations/20250318163201_add_previous_snapshot_id_to_task_run_execution_snapshot/migration.sql +++ b/internal-packages/database/prisma/migrations/20250318163201_add_previous_snapshot_id_to_task_run_execution_snapshot/migration.sql @@ -1,8 +1,5 @@ --- DropIndex -DROP INDEX "SecretStore_key_idx"; - -- AlterTable -ALTER TABLE "TaskRunExecutionSnapshot" ADD COLUMN "previousSnapshotId" TEXT; - --- CreateIndex -CREATE INDEX "SecretStore_key_idx" ON "SecretStore"("key" text_pattern_ops); +ALTER TABLE + "TaskRunExecutionSnapshot" +ADD + COLUMN "previousSnapshotId" TEXT; \ No newline at end of file