Enhance event model and management: Add new fields for room, time, and maxPlaces to the Event model in Prisma schema. Update API routes and UI components to support these fields, improving event details and user interaction in event management and registration processes.
This commit is contained in:
@@ -20,6 +20,7 @@ enum EventType {
|
||||
LAUNCH
|
||||
FESTIVAL
|
||||
COMPETITION
|
||||
CODE_KATA
|
||||
}
|
||||
|
||||
enum EventStatus {
|
||||
@@ -89,6 +90,9 @@ model Event {
|
||||
description String
|
||||
type EventType
|
||||
status EventStatus
|
||||
room String?
|
||||
time String?
|
||||
maxPlaces Int?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
registrations EventRegistration[]
|
||||
|
||||
Reference in New Issue
Block a user