Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Clean up job for inactive groups #197

Open
stephenyeargin opened this issue May 15, 2015 · 2 comments
Open

Clean up job for inactive groups #197

stephenyeargin opened this issue May 15, 2015 · 2 comments
Milestone

Comments

@stephenyeargin
Copy link
Member

Handful of duplicate or otherwise inactive groups exist in the database. Ideally, these records (and any associated tickets) would be cleared from the platform after the group has been inactive for 30 days. The delete should cascade:

  • Remove related ticket files (including an S3 DELETE)
  • Remove related tickets
  • Remove related user memberships

Rake task can be scheduled with whenever to run periodically.

@bval
Copy link
Contributor

bval commented May 19, 2015

Might be a good time to decide whether we want to implement soft deletion of any kind for future analytical purposes. It is sometimes nice to have historical data available to analyze.

@stephenyeargin
Copy link
Member Author

Probably a good idea. I have the status flag on there that hides/deactivates things (tickets are instant delete). The buckets these fall into right now are: accidentally created groups (3) and guys who didn't like the service (1).

@stephenyeargin stephenyeargin modified the milestone: Icebox Aug 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants