Closed sladomic closed 7 years ago
@jogrimst Now the StudentImageCollectionEvent and all connected StudentImages and StudentImageFeatures will be deleted if 1) a file is missing 2) feature extraction for a StudentImage fails
I just delete them in the db but not the files itself. Should I also delete the files or keep them for debugging?
I just delete them in the db but not the files itself. Should I also delete the files or keep them for debugging?
@sladomic I suggest we keep them, just in case.
@jogrimst I just delete them if a file is missing anyway (so if the feature extraction would fail for a StudentImageCollectionEvent). The files, where the feature extraction was successful will stay on the device. But if you want we can also have an expired flag on the db which I set instead