feat: Add contact form submission and message management functionality.

This commit is contained in:
pradeepkumar
2026-03-20 12:42:16 +05:30
parent 2914e74947
commit 8e9d623f24
6 changed files with 149 additions and 0 deletions

View File

@@ -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")
}