add analytics (#162)

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

View File

@@ -375,3 +375,13 @@ model DailyEmailUsage {
@@id([teamId, domainId, date, type])
}
model CumulatedMetrics {
teamId Int
domainId Int
delivered BigInt @default(0)
hardBounced BigInt @default(0)
complained BigInt @default(0)
@@id([teamId, domainId])
}