feat: add ses tenant support for teams (#193)

This commit is contained in:
KM Koushik
2025-08-09 20:37:29 +10:00
committed by GitHub
parent e3b8a451da
commit da13107f88
11 changed files with 947 additions and 93 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Team" ADD COLUMN "sesTenantId" TEXT;

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Domain" ADD COLUMN "sesTenantId" TEXT;

View File

@@ -106,6 +106,7 @@ model Team {
isActive Boolean @default(true)
apiRateLimit Int @default(2)
billingEmail String?
sesTenantId String?
teamUsers TeamUser[]
domains Domain[]
apiKeys ApiKey[]
@@ -184,6 +185,7 @@ model Domain {
dmarcAdded Boolean @default(false)
errorMessage String?
subdomain String?
sesTenantId String?
isVerifying Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt