fix(prisma): minor pay-period's type fixing
This commit is contained in:
parent
7cc97c9bce
commit
dcf340325a
|
|
@ -9,6 +9,7 @@ WITH
|
||||||
),
|
),
|
||||||
bounds AS (
|
bounds AS (
|
||||||
SELECT
|
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 '6 months')::date AS start_bound,
|
||||||
(now()::date + INTERVAL '1 month')::date AS end_bound,
|
(now()::date + INTERVAL '1 month')::date AS end_bound,
|
||||||
anchor.anchor_date
|
anchor.anchor_date
|
||||||
|
|
|
||||||
|
|
@ -131,10 +131,10 @@ model LeaveRequestsArchive {
|
||||||
//pay-period vue
|
//pay-period vue
|
||||||
view PayPeriods {
|
view PayPeriods {
|
||||||
period_number Int @id
|
period_number Int @id
|
||||||
start_date DateTime? @db.Date
|
start_date DateTime @db.Date
|
||||||
end_date DateTime? @db.Date
|
end_date DateTime @db.Date
|
||||||
year Int?
|
year Int
|
||||||
label String?
|
label String
|
||||||
|
|
||||||
@@map("pay_period")
|
@@map("pay_period")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user