Manuel Vacelet (vaceletm)2024-03-21 08:51 Artifact deletion is all but complete at this stage. It's been half implemented by a contributor years ago and they didn't bother to continue. IMHO, I would advise to have the whole process async (but be careful, some platforms are not async) and to accept that there is a small delay between the deletion request and the actual deletion.
Guilhem Bonnefille (CS) (gbonnefille)2024-03-21 08:13 Looking at the artifact deletion, I understand that the artifact entry is deleted synchronously, while the other parts are deleted asynchronously. Thus, this is a foreign key violation. To deal with this model, we have to introduce a deleted column, mark the artifact deleted synchronously and delete the whole artifact asynchronously. And then, we have to adjust all artifact selection in order to consider the deleted column. Huge change. A simplification would be to add a tracker_artifact_not_deleted view.
Guilhem Bonnefille (CS) (gbonnefille)2024-03-07 15:19 Using schemaspy I was able to rebuild some relations. the result is really useful to explore the database. Attachments tracker_changeset_value.2degrees.png addedBy Guilhem Bonnefille (CS) (gbonnefille)(215 kB)tracker_changeset_value.2degrees.png