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

Create task to delete soft-deleted items after a fixed time period #232

Open
david-code opened this issue Dec 21, 2022 · 0 comments
Open
Assignees

Comments

@david-code
Copy link
Contributor

david-code commented Dec 21, 2022

Description

Currently many of our models are "soft-deleted". This means instead of the data being deleted from the database, there is a column "deleted_at" set to the deletion time, and the row is ignored in queries fetching data. However we would also like to actually delete these rows after a fixed time period, that is remove them from the database entirely.

This issue will be to set up

  • a recurring task
  • that deletes items that were soft-deleted more than a fixed time period ago (say one month)

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants