feat: monthly email digest (#10621)

Co-authored-by: Carina Wollendorfer <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-09-19 16:19:36 +02:00
1 parent 50970dc249
commit 786c1c2ba3
15 files changed
+684 -7

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "users" ADD COLUMN "receiveMonthlyDigestEmail" BOOLEAN DEFAULT true;
+3
View File
@@ -223,6 +223,9 @@ model User {
// participate in SEO indexing or not
allowSEOIndexing Boolean? @default(true)
// receive monthly digest email for teams or not
receiveMonthlyDigestEmail Boolean? @default(true)
/// @zod.custom(imports.userMetadata)
metadata Json?
verified Boolean? @default(false)