Store Google place types
All checks were successful
Build and deploy Backend / build (push) Successful in 27s
All checks were successful
Build and deploy Backend / build (push) Successful in 27s
This commit is contained in:
4
prisma/migrations/4_add_google_place_types/migration.sql
Normal file
4
prisma/migrations/4_add_google_place_types/migration.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Place" ADD COLUMN "googlePrimaryType" TEXT,
|
||||
ADD COLUMN "googleTypes" TEXT[] DEFAULT ARRAY[]::TEXT[];
|
||||
|
||||
@@ -22,6 +22,8 @@ model Place {
|
||||
name String
|
||||
latitude Float
|
||||
longitude Float
|
||||
googlePrimaryType String?
|
||||
googleTypes String[] @default([])
|
||||
experiences VoiceExperience[]
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
Reference in New Issue
Block a user