feat: Add contact form submission and message management functionality.
This commit is contained in:
@@ -743,3 +743,20 @@ model UserReport {
|
||||
@@index([status])
|
||||
@@map("user_reports")
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// CONTACT MESSAGES
|
||||
// ============================================
|
||||
model ContactMessage {
|
||||
id String @id @default(uuid())
|
||||
name String
|
||||
email String
|
||||
phone String?
|
||||
message String
|
||||
isRead Boolean @default(false)
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@index([isRead])
|
||||
@@index([createdAt])
|
||||
@@map("contact_messages")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user