Store participant timezone in response (#1811)

This commit is contained in:
Luke Vella 2025-07-11 15:25:15 +01:00 committed by GitHub
parent 968e513dba
commit 965e969fd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 101 additions and 87 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "participants" ADD COLUMN "time_zone" TEXT;

View file

@ -76,6 +76,7 @@ model Participant {
guestId String? @map("guest_id")
pollId String @map("poll_id")
locale String?
timeZone String? @map("time_zone")
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime? @updatedAt @map("updated_at")
deleted Boolean @default(false)