chris 2c78112a4f Initial commit: E-Invite, a self-hosted Evite-lite
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.
2026-07-11 10:11:12 -04:00

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;