Reset and deletion of project
This commit is contained in:
@@ -78,7 +78,7 @@ model Project {
|
||||
model Membership {
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
userId String
|
||||
project Project @relation(fields: [projectId], references: [id])
|
||||
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
|
||||
projectId String
|
||||
|
||||
// Details
|
||||
@@ -158,7 +158,7 @@ model Template {
|
||||
|
||||
// Content
|
||||
subject String
|
||||
body String // HTML content with {{variable}} placeholders
|
||||
body String // HTML content with {{variable}} placeholders
|
||||
from String
|
||||
fromName String?
|
||||
replyTo String?
|
||||
@@ -508,12 +508,12 @@ model Email {
|
||||
toName String? // Recipient display name for To header
|
||||
|
||||
// Content (denormalized for history)
|
||||
subject String
|
||||
body String // Rendered HTML
|
||||
from String
|
||||
fromName String?
|
||||
replyTo String?
|
||||
headers Json? // Custom email headers
|
||||
subject String
|
||||
body String // Rendered HTML
|
||||
from String
|
||||
fromName String?
|
||||
replyTo String?
|
||||
headers Json? // Custom email headers
|
||||
attachments Json? // Array of {filename: string, content: string (base64), contentType: string}
|
||||
|
||||
// AWS SES Message ID (for tracking webhooks)
|
||||
|
||||
Reference in New Issue
Block a user