sendgrid / eventkit-rails

An open source project for integrating with SendGrid's Event Webhook.
Open Software License 3.0
53 stars 73 forks source link

How to delete events on demand? #26

Closed augustosamame closed 7 years ago

augustosamame commented 7 years ago

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 commented 7 years ago

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.