Skip to content

Commit 21ab29a

Browse files
committed
Remove unused TaskRun_runtimeEnvironmentId_id_idx
1 parent f4f95f5 commit 21ab29a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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_runtimeEnvironmentId_id_idx";

internal-packages/database/prisma/schema.prisma

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,6 @@ model TaskRun {
886886
// Finding runs in a batch
887887
@@index([runTags(ops: ArrayOps)], type: Gin)
888888
@@index([runtimeEnvironmentId, batchId])
889-
// This will include the createdAt index to help speed up the run list page
890-
@@index([runtimeEnvironmentId, id(sort: Desc)])
891889
@@index([runtimeEnvironmentId, createdAt(sort: Desc)])
892890
@@index([createdAt], type: Brin)
893891
@@index([status, runtimeEnvironmentId, createdAt, id(sort: Desc)])

0 commit comments

Comments
 (0)