Stockage du fuseau horaire dans la base de données
This commit is contained in:
parent
0a89676b7e
commit
65d5ce3bc2
@ -29,7 +29,7 @@ model Geolocation {
|
|||||||
accuracy Float
|
accuracy Float
|
||||||
altitude Float
|
altitude Float
|
||||||
altitudeAccuracy Float
|
altitudeAccuracy Float
|
||||||
timestamp DateTime
|
timestamp DateTime @db.Timestamptz(3)
|
||||||
}
|
}
|
||||||
|
|
||||||
model Challenge {
|
model Challenge {
|
||||||
@ -48,10 +48,10 @@ model ChallengeAction {
|
|||||||
challengeId Int @unique
|
challengeId Int @unique
|
||||||
active Boolean @default(false)
|
active Boolean @default(false)
|
||||||
success Boolean @default(false)
|
success Boolean @default(false)
|
||||||
start DateTime @default(now())
|
start DateTime @default(now()) @db.Timestamptz(3)
|
||||||
end DateTime?
|
end DateTime? @db.Timestamptz(3)
|
||||||
penaltyStart DateTime?
|
penaltyStart DateTime? @db.Timestamptz(3)
|
||||||
penaltyEnd DateTime?
|
penaltyEnd DateTime? @db.Timestamptz(3)
|
||||||
moneyUpdate MoneyUpdate?
|
moneyUpdate MoneyUpdate?
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,8 +62,8 @@ model TrainTrip {
|
|||||||
distance Float
|
distance Float
|
||||||
from String
|
from String
|
||||||
to String
|
to String
|
||||||
departureTime DateTime
|
departureTime DateTime @db.Timestamptz(3)
|
||||||
arrivalTime DateTime
|
arrivalTime DateTime @db.Timestamptz(3)
|
||||||
infoJson Json
|
infoJson Json
|
||||||
geometry String
|
geometry String
|
||||||
moneyUpdate MoneyUpdate?
|
moneyUpdate MoneyUpdate?
|
||||||
|
Loading…
Reference in New Issue
Block a user