fix(prisma): commented unused column

This commit is contained in:
Matthieu Haineault 2026-01-14 15:31:50 -05:00
parent c294d491d1
commit 5805549058

View File

@ -50,7 +50,7 @@ model Employees {
supervisor_id Int?
job_title String?
is_supervisor Boolean @default(false)
banked_hour_limit Int @default(0) //will need to be implemented in the future
// banked_hour_limit Int @default(0) //will need to be implemented in the future
schedule_preset_id Int?
schedule_preset SchedulePresets? @relation("EmployeesSchedulePreset", fields: [schedule_preset_id], references: [id])
supervisor Employees? @relation("EmployeeSupervisor", fields: [supervisor_id], references: [id])
@ -104,12 +104,13 @@ model Timesheets {
employee_id Int
is_approved Boolean @default(false)
start_date DateTime @db.Date
hours_to_bank Decimal? @db.Decimal(5, 2) //will need to be implemented in the future
// hours_to_bank Decimal? @db.Decimal(5, 2) //will need to be implemented in the future
expense Expenses[] @relation("ExpensesTimesheet")
shift Shifts[] @relation("ShiftTimesheet")
employee Employees @relation("TimesheetEmployee", fields: [employee_id], references: [id])
archive TimesheetsArchive[] @relation("TimesheetsToArchive")
// @@unique([employee_id, start_date], name: "employee_id_start_date")
@@map("timesheets")
}