This commit is contained in:
@@ -11,8 +11,8 @@ 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 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
|
||||
iterate physical files, if not in db then make a FileAttachment record for it AyaType nothing id 0
|
||||
if user want's to move them, they can download and then attach and then remove the generated attachment (Nothing id 0) 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user