add analytics (#162)

This commit is contained in:
KM Koushik authored and GitHub committed 2025-05-11 23:34:21 +10:00
1 parent be7f030d75
commit b5ebd002e5
20 files changed
+1031 -418

No files matched your search

@@ -0,0 +1,10 @@
-- CreateTable
CREATE TABLE "CumulatedMetrics" (
"teamId" INTEGER NOT NULL,
"domainId" INTEGER NOT NULL,
"delivered" BIGINT NOT NULL DEFAULT 0,
"hardBounced" BIGINT NOT NULL DEFAULT 0,
"complained" BIGINT NOT NULL DEFAULT 0,
CONSTRAINT "CumulatedMetrics_pkey" PRIMARY KEY ("teamId","domainId")
);