fix(prisma): minor pay-period's type fixing

This commit is contained in:
Matthieu Haineault 2025-07-28 15:02:27 -04:00
parent 7cc97c9bce
commit dcf340325a
2 changed files with 5 additions and 4 deletions

View File

@ -9,6 +9,7 @@ WITH
),
bounds AS (
SELECT
--ajouter vérification de la période actuel, validations et revoir la logique
(now()::date - INTERVAL '6 months')::date AS start_bound,
(now()::date + INTERVAL '1 month')::date AS end_bound,
anchor.anchor_date

View File

@ -131,10 +131,10 @@ model LeaveRequestsArchive {
//pay-period vue
view PayPeriods {
period_number Int @id
start_date DateTime? @db.Date
end_date DateTime? @db.Date
year Int?
label String?
start_date DateTime @db.Date
end_date DateTime @db.Date
year Int
label String
@@map("pay_period")
}