File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
migrations/20211010133505_ Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ CREATE TABLE "new_Stub" (
2020 " sleep" INTEGER NOT NULL DEFAULT 0 ,
2121 " logs" TEXT NOT NULL ,
2222 " ntimesError" INTEGER NOT NULL DEFAULT 0 ,
23- " ntimesErrorStatusCode" TEXT NOT NULL ,
23+ " ntimesErrorStatusCode" TEXT NOT NULL DEFAULT " 500 " ,
2424 " ntimesErrorCounter" INTEGER NOT NULL DEFAULT 0 ,
2525 " projectId" INTEGER NOT NULL ,
2626 CONSTRAINT " Stub_projectId_fkey" FOREIGN KEY (" projectId" ) REFERENCES " Project" (" id" ) ON DELETE CASCADE ON UPDATE CASCADE
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ model Stub {
8989 sleep Int @default (0 )
9090 logs String
9191 ntimesError Int @default (0 )
92- ntimesErrorStatusCode String
92+ ntimesErrorStatusCode String @default ( " 500 " )
9393 ntimesErrorCounter Int @default (0 )
9494 project Project @relation (fields : [projectId ] , references : [id ] , onDelete : Cascade )
9595 projectId Int
You can’t perform that action at this time.
0 commit comments