Add slots based per class, admin courses mgmt, admin roles, horizontal nav/landing, glove favicon
This commit is contained in:
@@ -162,3 +162,15 @@ model Absence {
|
||||
date DateTime
|
||||
reason String?
|
||||
}
|
||||
|
||||
model ClassSlot {
|
||||
id String @id @default(cuid())
|
||||
slug String @unique
|
||||
label String
|
||||
sport String
|
||||
time String
|
||||
capacity Int @default(20)
|
||||
booked Int @default(0)
|
||||
isFull Boolean @default(false)
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user