[JobController] Runs are duplicated in the database
Closed this issue · 1 comments
keiranjprice101 commented
Description of the issue
Runs are duplicated in the database. This seems to happen as, when a sum run happens, a new run is created in the run table, even if it previously exists from the non sum version.
This could probably be fixed by creating a get_or_create
functionality.
As part of this being resolved we should run a one time SQL script to remove the duplicate entries and fix the junction table
Pasarus commented
Fixed as part of the Jobcreator and jobwatcher work.