feat: split cron into import and mailing jobs

This commit is contained in:
Riccardo
2023-12-18 16:13:30 +01:00
parent 875d66f2f7
commit 37ffb951a9
6 changed files with 85 additions and 53 deletions

View File

@@ -15,6 +15,7 @@ model User {
confirmed Boolean @default(false)
deleted Boolean @default(false)
createdAt DateTime @default(now()) @map(name: "created_at")
lastMail DateTime @default(now()) @updatedAt @map(name: "updated_at")
@@map(name: "users")
}