If one applicant has two courses and does "Zusatzleistung" in one course and receives 3 ECTS instead of 2, then 3 ECTS are also returned for the other course, even though he did not do "Zusatzleistung."
Problem:
Internally, each applicant has one ects field to store the ects points. In the case of multiple courses, the capability to store multiple ects values is exceeded.
Solution:
The number of ECTS points has to be linked to the course attendance and not to the single-applicant model.
Add a column "ects" in attendance table and read ects value based on the course from there instead of storing it in the applicant table.
Problem Description:
If one applicant has two courses and does "Zusatzleistung" in one course and receives 3 ECTS instead of 2, then 3 ECTS are also returned for the other course, even though he did not do "Zusatzleistung."
Problem:
Internally, each applicant has one ects field to store the ects points. In the case of multiple courses, the capability to store multiple ects values is exceeded.
Solution:
The number of ECTS points has to be linked to the course attendance and not to the single-applicant model. Add a column "ects" in attendance table and read ects value based on the course from there instead of storing it in the applicant table.