This commit is contained in:
2020-06-26 13:53:52 +00:00
parent e79fe32277
commit fcc8ec1a4e

View File

@@ -11,7 +11,7 @@ todo: Administration - Attached files manager
make sure it has a short circuit that if there are NO files physically then all are out of sync
this scenario is someone moving a db and not moving physical files
ORPHANED FILES CHECK
iterate physical files, if not in db then make a FileAttachment record for it
iterate physical files, if not in db then make a FileAttachment record for it to "LOST AND FOUND" object of some kind TBD
if user want's to move them, they can download and then attach and then remove the generated attachment to whatever object is the holder of orphaned files
DE-ORPHANIZE ACTION
iterate orphaned file attachments to orphaned file object, if found to be attached to any other object remove the orphaned object attachement