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 rake task to remove old transient_registrations #350

Merged
merged 6 commits into from
Aug 23, 2019

Conversation

irisfaraway
Copy link
Member

https://eaflood.atlassian.net/browse/RUBY-326

We've agreed that we shouldn't store transient_registrations for more than 30 days. So we need a way of clearing out the old ones.

This rake task will find and remove transient_registrations that are older than 30 days. It should also remove all related objects (eg transient_addresses).

https://eaflood.atlassian.net/browse/RUBY-326

We've agreed that we shouldn't store transient_registrations for more than 30 days. So we need a way of clearing out the old ones.

This rake task will find and remove transient_registrations that are older than 30 days. It should also remove all related objects (eg transient_addresses).
@irisfaraway irisfaraway added the enhancement New feature or request label Aug 22, 2019
@irisfaraway irisfaraway self-assigned this Aug 22, 2019
@irisfaraway irisfaraway marked this pull request as ready for review August 22, 2019 16:38
@irisfaraway
Copy link
Member Author

Planning to add the scheduling separately.

Co-Authored-By: Alan Cruikshanks <alan.cruikshanks@gmail.com>
@irisfaraway irisfaraway merged commit 00cdc43 into master Aug 23, 2019
@irisfaraway irisfaraway deleted the feature/db-cleanout-rake branch August 23, 2019 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants