Closed moebiusband73 closed 1 year ago
The current DB Schema for jobtag already sets ON DELETE CASCADE.
NOTE: If sqlite PRAGMA option foreign_keys must be explicitly set to ON. If using the sqlite3 console it is per default set to false! On every console session you must set: sqlite> PRAGMA foreign_keys = ON;
The retention service deletes jobs from the Job archive and also offers to delete the jobs from the database. Still in this case the links between tags and deleted jobs are currently not cleaned up.