Implement event feedback functionality: Add EventFeedback model to Prisma schema, enabling users to submit ratings and comments for events. Update EventsPageSection and AdminPanel components to support feedback management, including UI for submitting feedback and viewing existing feedbacks. Refactor registration logic to retrieve all user registrations for improved feedback handling.
This commit is contained in:
@@ -59,6 +59,11 @@ export type Event = Prisma.EventModel
|
||||
*
|
||||
*/
|
||||
export type EventRegistration = Prisma.EventRegistrationModel
|
||||
/**
|
||||
* Model EventFeedback
|
||||
*
|
||||
*/
|
||||
export type EventFeedback = Prisma.EventFeedbackModel
|
||||
/**
|
||||
* Model SitePreferences
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user