Add plan execution mode, game ID, and version to health endpoint
- Add executionMode and gameId columns to StreamPlan schema - Add migration for new columns - Support executionMode/gameId in plan create and update endpoints - Add version field to health check response from package.json
This commit is contained in:
@@ -54,14 +54,16 @@ model LinkedAccount {
|
||||
}
|
||||
|
||||
model StreamPlan {
|
||||
id String @id @default(uuid())
|
||||
userId String
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
name String
|
||||
status String @default("DRAFT")
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
destinations StreamDestination[]
|
||||
id String @id @default(uuid())
|
||||
userId String
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
name String
|
||||
status String @default("DRAFT")
|
||||
executionMode String @default("IN_GAME")
|
||||
gameId String @default("")
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
destinations StreamDestination[]
|
||||
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user