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

Soft Delete Sectors #236

Merged
merged 2 commits into from
Jan 12, 2020
Merged

Soft Delete Sectors #236

merged 2 commits into from
Jan 12, 2020

Conversation

mpigsley
Copy link
Owner

@mpigsley mpigsley commented Nov 10, 2019

Description

There was a recent issue with retrieving deleted sector data that could have been prevented if sector objects were soft deleted. If a user accidentally deletes a sector, I'd be able to go back, look it up, and flip the deleted flag to false.

The downside of this is that users could have a lot of deleted sector data, but could easily be resolved by creating a cron-job that combs through deleted sectors and deletes them and all their children after a period of time. It's not terribly expensive to keep that data around, but could be a way to save some money in the future.

@mpigsley mpigsley merged commit dc81525 into master Jan 12, 2020
@mpigsley mpigsley deleted the sector-soft-delete branch January 12, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant