update esthétique
This commit is contained in:
@@ -103,3 +103,28 @@ model TruckEventRecurrence {
|
||||
|
||||
@@index([dayOfWeek])
|
||||
}
|
||||
|
||||
/** Métadonnées des avis Google (note globale, lien Maps). Une seule ligne (id = default). */
|
||||
model GoogleReviewsMeta {
|
||||
id String @id @default("default")
|
||||
placeId String
|
||||
rating Float?
|
||||
reviewCount Int?
|
||||
googleMapsUri String
|
||||
syncedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
/** Avis Google Maps synchronisés depuis l’API Places. */
|
||||
model GoogleReview {
|
||||
id String @id
|
||||
authorName String
|
||||
authorUri String?
|
||||
authorPhotoUri String?
|
||||
rating Float
|
||||
text String
|
||||
relativeTime String @default("")
|
||||
googleMapsUri String?
|
||||
sortOrder Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user