Skip to content

Commit 3a5bc57

Browse files
committed
Drop TaskRun_rootTaskRunId_idx and TaskRun_scheduleId_idx
1 parent 21ab29a commit 3a5bc57

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- DropIndex
2+
DROP INDEX CONCURRENTLY IF EXISTS "public"."TaskRun_scheduleId_idx";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- DropIndex
2+
DROP INDEX CONCURRENTLY IF EXISTS "public"."TaskRun_rootTaskRunId_idx";

internal-packages/database/prisma/schema.prisma

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,10 +874,6 @@ model TaskRun {
874874
@@unique([runtimeEnvironmentId, taskIdentifier, idempotencyKey])
875875
// Finding child runs
876876
@@index([parentTaskRunId])
877-
// Finding ancestor runs
878-
@@index([rootTaskRunId])
879-
//Schedules
880-
@@index([scheduleId])
881877
// Run page inspector
882878
@@index([spanId])
883879
@@index([parentSpanId])

0 commit comments

Comments
 (0)