Anzeige für lsitenplatz, sortierung nach Datum
This commit is contained in:
@@ -17,19 +17,21 @@ model EventAppointment {
|
||||
}
|
||||
|
||||
model Participant {
|
||||
id Int @id @default(autoincrement())
|
||||
userId String @map(name: "user_id")
|
||||
finisherMoodleCurseCompleted Boolean @default(false)
|
||||
attended Boolean @default(false)
|
||||
appointmentCancelled Boolean @default(false)
|
||||
completetionWorkflowFinished Boolean @default(false)
|
||||
id Int @id @default(autoincrement())
|
||||
userId String @map(name: "user_id")
|
||||
finisherMoodleCurseCompleted Boolean @default(false)
|
||||
attended Boolean @default(false)
|
||||
appointmentCancelled Boolean @default(false)
|
||||
completetionWorkflowFinished Boolean @default(false)
|
||||
eventAppointmentId Int?
|
||||
statusLog Json[] @default([])
|
||||
eventId Int
|
||||
enscriptionDate DateTime @default(now())
|
||||
|
||||
statusLog Json[] @default([])
|
||||
eventId Int
|
||||
// relations:
|
||||
User User @relation(fields: [userId], references: [id])
|
||||
Event Event @relation(fields: [eventId], references: [id])
|
||||
EventAppointment EventAppointment? @relation(fields: [eventAppointmentId], references: [id])
|
||||
User User @relation(fields: [userId], references: [id])
|
||||
Event Event @relation(fields: [eventId], references: [id])
|
||||
EventAppointment EventAppointment? @relation(fields: [eventAppointmentId], references: [id])
|
||||
}
|
||||
|
||||
model Event {
|
||||
|
||||
@@ -27,7 +27,7 @@ model User {
|
||||
moodleId Int? @map(name: "moodle_id")
|
||||
emailVerified DateTime? @map(name: "email_verified")
|
||||
image String?
|
||||
badges BADGES[] @unique @default([])
|
||||
badges BADGES[] @default([])
|
||||
permissions PERMISSION[] @default([])
|
||||
createdAt DateTime @default(now()) @map(name: "created_at")
|
||||
updatedAt DateTime @default(now()) @map(name: "updated_at")
|
||||
|
||||
Reference in New Issue
Block a user