Feat: Implement mapbox for geocoding and location data for brewery posts

This commit is contained in:
Aaron William Po
2023-04-24 21:45:11 -04:00
parent eec082e73a
commit 4aeafc0de8
17 changed files with 1845 additions and 134 deletions

View File

@@ -96,7 +96,11 @@ model BeerType {
model BreweryPost {
id String @id @default(uuid())
name String
location String
city String
stateOrProvince String?
country String?
coordinates Float[]
address String
beers BeerPost[]
description String
createdAt DateTime @default(now()) @db.Timestamptz(3)