✨ Save original teacher in substitution entries
This commit is contained in:
@ -25,6 +25,7 @@ model Substitution {
|
||||
date DateTime
|
||||
type String
|
||||
lesson Int
|
||||
teacher String
|
||||
changedTeacher String?
|
||||
changedRoom String?
|
||||
changedSubject String?
|
||||
@ -40,6 +41,7 @@ model SubstitutionChange {
|
||||
substitution Substitution @relation(fields: [substitutionId], references: [id])
|
||||
substitutionId Int
|
||||
type String
|
||||
teacher String?
|
||||
changes Json?
|
||||
parseEvent ParseEvent @relation(fields: [parseEventId], references: [id])
|
||||
parseEventId Int
|
||||
|
Reference in New Issue
Block a user