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:
Julien Froidefond
2025-12-10 05:27:35 +01:00
parent fb5c8c1466
commit fdd860c456
13 changed files with 564 additions and 22 deletions

View File

@@ -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[]