Broncode diagram
table Person {
Id int [pk]
}
table LearningModule {
Id int [pk]
}
table LearningModuleTasks {
LearningModuleId int [ref: > LearningModule.Id, not null]
TaskId int [ref: - LearningTask.Id, not null]
}
table LearningTask {
Id int [pk]
}
table PersonLearningTask {
Id int [pk]
PersonId int [ref: - Person.Id, not null]
TaskId int [ref: - LearningTask.Id, not null]
Status enum
}
table FinishedModule {
Id int [pk]
PersonId int [ref: > Person.Id, not null]
ModuleId int [ref: - LearningModule.Id, not null]
FinishDate date
}
table PersonModuleStatus {
Id int [pk]
PersonId int [ref: - Person.Id, not null]
ModuleId int [ref: - LearningModule.Id, not null]
Status enum
}