This commit is contained in:
@@ -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
|
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
|
this scenario is someone moving a db and not moving physical files
|
||||||
ORPHANED FILES CHECK
|
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
|
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
|
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
|
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