Projektstart

This commit is contained in:
2026-01-22 16:40:19 +01:00
parent 43c83e96bb
commit 85dee61a4d
25 changed files with 533 additions and 157 deletions

View File

@@ -68,6 +68,7 @@ model ExportJob {
status ExportStatus @default(QUEUED)
format String
scope String
progress Int @default(0)
filePath String?
error String?
expiresAt DateTime?
@@ -93,25 +94,27 @@ model User {
}
model MailboxAccount {
id String @id @default(cuid())
tenantId String
email String
provider MailProvider
isActive Boolean @default(true)
imapHost String
imapPort Int
imapTLS Boolean
smtpHost String?
smtpPort Int?
smtpTLS Boolean?
oauthToken String?
oauthRefreshToken String?
oauthAccessToken String?
oauthExpiresAt DateTime?
providerUserId String?
appPassword String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
id String @id @default(cuid())
tenantId String
email String
provider MailProvider
isActive Boolean @default(true)
imapHost String
imapPort Int
imapTLS Boolean
smtpHost String?
smtpPort Int?
smtpTLS Boolean?
oauthToken String?
oauthRefreshToken String?
oauthAccessToken String?
oauthExpiresAt DateTime?
providerUserId String?
oauthLastCheckedAt DateTime?
oauthLastErrorCode String?
appPassword String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
tenant Tenant @relation(fields: [tenantId], references: [id])
folders MailboxFolder[]