Store Google place types
All checks were successful
Build and deploy Backend / build (push) Successful in 27s

This commit is contained in:
Ruslan Bakiev
2026-05-09 16:56:04 +07:00
parent 4d5aa433e8
commit c8c248c4af
10 changed files with 192 additions and 88 deletions

View File

@@ -0,0 +1,4 @@
-- AlterTable
ALTER TABLE "Place" ADD COLUMN "googlePrimaryType" TEXT,
ADD COLUMN "googleTypes" TEXT[] DEFAULT ARRAY[]::TEXT[];

View File

@@ -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