biigle / maia

:m: BIIGLE module for the Machine Learning Assisted Image Annotation method
GNU General Public License v3.0
2 stars 3 forks source link

Drop constraints on proposal and candidate tables #157

Closed mzur closed 5 months ago

mzur commented 5 months ago

The constraints basically disabled any query that tried to delete a job because the cascaded delete was terribly slow without an index. This drops the constraint completely because it was not needed in the first place (proposals/candidates can only be deleted together with their jobs).

This is similar to https://github.com/biigle/maia/commit/5cb27dcc46aa07aa96cf69328c736add1b60ea1d