Skip to content

Commit

Permalink
Remove number of students from absence
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonlingg authored and ChinemeremChigbo committed Jun 16, 2024
1 parent d15656c commit 3b1b6de
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ model Absence {
subject Subject
lessonPlan String?
reasonOfAbsence String
numberOfStudents Int
absentTeacherId Int
substituteTeacherId Int?
locationId Int
Expand All @@ -24,7 +23,7 @@ model Absence {

model User {
id Int @id @default(autoincrement())
authId String
authId String @unique
email String @unique
firstName String
lastName String
Expand All @@ -35,16 +34,16 @@ model User {
}

model Location {
id Int @id @default(autoincrement())
id Int @id @default(autoincrement())
name String
abbreviation String
absences Absence[]
}

model MailingList {
id Int @id @default(autoincrement())
name String
emails String[]
id Int @id @default(autoincrement())
name String
emails String[]
}

enum Role {
Expand Down

0 comments on commit 3b1b6de

Please sign in to comment.