Refactor event date handling: Update event model to use DateTime type for date fields in Prisma schema. Modify API routes and UI components to ensure consistent date formatting and handling, improving data integrity and user experience across event management and display.
This commit is contained in:
@@ -85,7 +85,7 @@ model UserPreferences {
|
||||
|
||||
model Event {
|
||||
id String @id @default(cuid())
|
||||
date String
|
||||
date DateTime
|
||||
name String
|
||||
description String
|
||||
type EventType
|
||||
|
||||
Reference in New Issue
Block a user