Add missing indexes on Checkpoint table

This commit is contained in:
Eric Allam
2024-10-28 13:37:59 +00:00
parent 72cdb5edc4
commit 3d7a6d8e9d
3 changed files with 7 additions and 0 deletions
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX CONCURRENTLY IF NOT EXISTS "Checkpoint_attemptId_idx" ON "Checkpoint"("attemptId");
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX CONCURRENTLY IF NOT EXISTS "Checkpoint_runId_idx" ON "Checkpoint"("runId");
@@ -2246,6 +2246,9 @@ model Checkpoint {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([attemptId])
@@index([runId])
}
enum CheckpointType {