Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thread, category and is_orphaned fields to attachments #1812

Open
rafalp opened this issue Sep 5, 2024 · 1 comment
Open

Add thread, category and is_orphaned fields to attachments #1812

rafalp opened this issue Sep 5, 2024 · 1 comment
Assignees
Labels
area: backend This issue involves Python, Django or dependency (eg. database) feature: posting Start/reply/edit flows

Comments

@rafalp
Copy link
Owner

rafalp commented Sep 5, 2024

thread and category fields will let us easily move attachments around.

Making thread, user, category and post fields nullable will let us delete attachments at later time so we don't slow down delete operations with IO to delete files from media storage.

is_orphaned field will let us flag which attachments to delete.

This is a blocker for #1811 and new threads moderation actions.

@rafalp rafalp added the area: backend This issue involves Python, Django or dependency (eg. database) label Sep 5, 2024
@rafalp rafalp added this to the Next feature release milestone Sep 5, 2024
@rafalp rafalp self-assigned this Sep 5, 2024
@rafalp rafalp mentioned this issue Sep 10, 2024
85 tasks
@rafalp rafalp added the feature: posting Start/reply/edit flows label Oct 29, 2024
@rafalp
Copy link
Owner Author

rafalp commented Jan 10, 2025

I've renamed is_orphaned to is_deleted in final implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend This issue involves Python, Django or dependency (eg. database) feature: posting Start/reply/edit flows
Projects
None yet
Development

No branches or pull requests

1 participant