fix: add email reporting (#2918)

This commit is contained in:
David Nguyen
2026-06-03 16:05:39 +10:00
committed by GitHub
parent 743d31651f
commit 993a494784
24 changed files with 521 additions and 33 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "OrganisationMonthlyStat" ADD COLUMN "emailReports" INTEGER NOT NULL DEFAULT 0;
+1
View File
@@ -322,6 +322,7 @@ model OrganisationMonthlyStat {
documentCount Int @default(0)
emailCount Int @default(0)
apiCount Int @default(0)
emailReports Int @default(0)
@@unique([organisationId, period])
@@index([organisationId])