Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: include backgroundmigration state default in schema.prisma (#4094)

Steffen Schmitz5efd4ec0a4b2
diff --git a/packages/shared/prisma/schema.prisma b/packages/shared/prisma/schema.prisma
index f752dee70b..83a541dd9f 100644
--- a/packages/shared/prisma/schema.prisma
+++ b/packages/shared/prisma/schema.prisma
@@ -166,7 +166,7 @@ model BackgroundMigration {
name String @unique
script String @map("script")
args Json @map("args")
- state Json @map("state")
+ state Json @default("{}") @map("state")
finishedAt DateTime? @map("finished_at")
failedAt DateTime? @map("failed_at")
failedReason String? @map("failed_reason")