correctly assume if assignmen is old, new database fields suggestions
This commit is contained in:
@ -133,6 +133,7 @@ model Availability {
|
||||
repeatWeekly Boolean? // New field to indicate weekly repetition
|
||||
repeatFrequency Int? // New field to indicate repetition frequency
|
||||
endDate DateTime? // New field for the end date of repetition
|
||||
//dateOfEntry DateTime
|
||||
|
||||
@@map("Availability")
|
||||
}
|
||||
@ -167,6 +168,7 @@ model Shift {
|
||||
//date DateTime
|
||||
reportId Int? @unique
|
||||
Report Report? @relation(fields: [reportId], references: [id])
|
||||
//isPublished Boolean @default(false)
|
||||
|
||||
@@map("Shift")
|
||||
}
|
||||
|
Reference in New Issue
Block a user