auto unsubscribe on bounce and compaints (#117)

* auto unsubscribe on bounce and compaints

* console
This commit is contained in:
KM Koushik
2025-03-18 00:25:11 +11:00
committed by GitHub
parent 0a1d93ac60
commit 0fc27d8d7e
11 changed files with 231 additions and 143 deletions

View File

@@ -0,0 +1,5 @@
-- CreateEnum
CREATE TYPE "UnsubscribeReason" AS ENUM ('BOUNCED', 'COMPLAINED', 'UNSUBSCRIBED');
-- AlterTable
ALTER TABLE "Contact" ADD COLUMN "unsubscribeReason" "UnsubscribeReason";