Skip to content

Cleanup task for unreferenced attachments #191

Description

@fennifith

Attachments in the attachments table can be referenced from zero or many post_attachments relations.

Multiple branches of a post can be referencing the same attachment, so it isn't practical to remove them in sync-post.

This issue is for creating a cleanup task that removes unreferenced attachments from both S3 and the db.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    🎟️ Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions