Docker-ready Next.js + Prisma/Postgres e-invitation app: themed invite pages, RSVP, comments, share links, email + SMS invites with reply-to-RSVP-by-text, co-hosts, photo dropbox, and browser push notifications.
9 lines
426 B
SQL
9 lines
426 B
SQL
-- AlterTable
|
|
ALTER TABLE "Event" ADD COLUMN "restrictRsvpToInvited" BOOLEAN NOT NULL DEFAULT false;
|
|
|
|
-- AlterTable: default false going forward, but every existing row was
|
|
-- created under the old logic that only inserted a GuestInvite after a
|
|
-- successful send, so backfill those as true.
|
|
ALTER TABLE "GuestInvite" ADD COLUMN "emailSent" BOOLEAN NOT NULL DEFAULT false;
|
|
UPDATE "GuestInvite" SET "emailSent" = true;
|