Skip to content

Commit

Permalink
Merge pull request #2268 from bcgov/feat/2216
Browse files Browse the repository at this point in the history
chore: make updated_at optional for migration
  • Loading branch information
junminahn authored Mar 13, 2024
2 parents ae056b1 + 64311c4 commit 1825d6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 1825d6a

Please sign in to comment.