Skip to content

Commit fc5eb20

Browse files
committed
Add installing status to the deployment db schema
1 parent 412e80f commit fc5eb20

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TYPE "public"."WorkerDeploymentStatus" ADD VALUE 'INSTALLING';
2+
3+
ALTER TABLE "public"."WorkerDeployment" ADD COLUMN "installedAt" TIMESTAMP(3);

internal-packages/database/prisma/schema.prisma

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,9 +1764,10 @@ model WorkerDeployment {
17641764
triggeredBy User? @relation(fields: [triggeredById], references: [id], onDelete: SetNull, onUpdate: Cascade)
17651765
triggeredById String?
17661766
1767-
startedAt DateTime?
1768-
builtAt DateTime?
1769-
deployedAt DateTime?
1767+
startedAt DateTime?
1768+
installedAt DateTime?
1769+
builtAt DateTime?
1770+
deployedAt DateTime?
17701771
17711772
failedAt DateTime?
17721773
errorData Json?
@@ -1787,6 +1788,7 @@ model WorkerDeployment {
17871788

17881789
enum WorkerDeploymentStatus {
17891790
PENDING
1791+
INSTALLING
17901792
/// This is the status when the image is being built
17911793
BUILDING
17921794
/// This is the status when the image is built and we are waiting for the indexing to finish

0 commit comments

Comments
 (0)