From 64311c4a7f24522bc2c1382b97bd30e4a8fe748d Mon Sep 17 00:00:00 2001 From: "j.dev" Date: Tue, 12 Mar 2024 16:51:52 -0700 Subject: [PATCH] chore: make updated_at optional for migration --- prisma/schema.prisma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index c08466052..c26f13e2f 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -53,7 +53,7 @@ model PrivateCloudRequest { decisionComment String? active Boolean @default(true) created DateTime @default(now()) - updatedAt DateTime @updatedAt + updatedAt DateTime? @updatedAt decisionDate DateTime? projectId String? @db.ObjectId project PrivateCloudProject? @relation("project", fields: [projectId], references: [id], onDelete: Cascade) @@ -70,7 +70,7 @@ model PrivateCloudProject { description String status ProjectStatus created DateTime @default(now()) - updatedAt DateTime @updatedAt + updatedAt DateTime? @updatedAt projectOwnerId String @db.ObjectId projectOwner User @relation("projectOwner", fields: [projectOwnerId], references: [id], onDelete: Cascade) primaryTechnicalLeadId String @db.ObjectId @@ -147,7 +147,7 @@ model PublicCloudRequest { decisionComment String? active Boolean @default(true) created DateTime @default(now()) - updatedAt DateTime @updatedAt + updatedAt DateTime? @updatedAt decisionDate DateTime? projectId String? @db.ObjectId project PublicCloudProject? @relation("project", fields: [projectId], references: [id], onDelete: Cascade) @@ -164,7 +164,7 @@ model PublicCloudProject { description String status ProjectStatus created DateTime @default(now()) - updatedAt DateTime @updatedAt + updatedAt DateTime? @updatedAt accountCoding String budget Budget projectOwnerId String @db.ObjectId