Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

How to delete events on demand? #26

Closed
augustosamame opened this issue Apr 4, 2017 · 1 comment
Closed

How to delete events on demand? #26

augustosamame opened this issue Apr 4, 2017 · 1 comment

Comments

@augustosamame
Copy link

Hi. I'm constantly hitting the Heroku free db limits before the 1 month minimum auto delete is up.
Once I've downloaded the data to CSV files, I would like to be able to blank the databases to continue getting new data. Is there any way to do this on demand?

@augustosamame
Copy link
Author

I ended up logging in to production server via heroku console. There I just ran a destroy_all on the events table. That worked just fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant