auto unsubscribe on bounce and compaints (#117)

* auto unsubscribe on bounce and compaints

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

No files matched your search

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