This commit is contained in:
2025-09-08 08:15:58 +02:00
parent 7e603c7c54
commit af48303c94
31 changed files with 2700 additions and 2598 deletions

View File

@@ -101,3 +101,20 @@ enum InteractionType {
BOOKMARK
COMMENT
}
// Contact form submissions
model Contact {
id Int @id @default(autoincrement())
name String @db.VarChar(255)
email String @db.VarChar(255)
subject String @db.VarChar(500)
message String @db.Text
responded Boolean @default(false)
responseTemplate String? @db.VarChar(50) @map("response_template")
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @updatedAt @map("updated_at")
@@index([email])
@@index([responded])
@@index([createdAt])
}