diff --git a/server/prisma/schema.prisma b/server/prisma/schema.prisma index a84b425..e6e372f 100644 --- a/server/prisma/schema.prisma +++ b/server/prisma/schema.prisma @@ -29,7 +29,7 @@ model Geolocation { accuracy Float altitude Float altitudeAccuracy Float - timestamp DateTime + timestamp DateTime @db.Timestamptz(3) } model Challenge { @@ -48,10 +48,10 @@ model ChallengeAction { challengeId Int @unique active Boolean @default(false) success Boolean @default(false) - start DateTime @default(now()) - end DateTime? - penaltyStart DateTime? - penaltyEnd DateTime? + start DateTime @default(now()) @db.Timestamptz(3) + end DateTime? @db.Timestamptz(3) + penaltyStart DateTime? @db.Timestamptz(3) + penaltyEnd DateTime? @db.Timestamptz(3) moneyUpdate MoneyUpdate? } @@ -62,8 +62,8 @@ model TrainTrip { distance Float from String to String - departureTime DateTime - arrivalTime DateTime + departureTime DateTime @db.Timestamptz(3) + arrivalTime DateTime @db.Timestamptz(3) infoJson Json geometry String moneyUpdate MoneyUpdate?