fix(prisma): minor pay-period's type fixing
This commit is contained in:
parent
7cc97c9bce
commit
dcf340325a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user