[misc] Use the right parent ID
[WIP] Issue #1116: Migrator from db attachments to fs attachments
One more module