Quantcast
Channel: Make
Viewing all articles
Browse latest Browse all 21

How to reset Heroku databases with the Scheduler

$
0
0

If you're using a standard Heroku setup with a postgres database, resetting the database is usually as easy as issuing the command heroku pg:reset DATABASE. However, if you want to schedule a daily reset with the Heroku Scheduler, you'll have to get a bit more creative since you are unable to call heroku pg:reset DATABASE from a Heroku instance.


Viewing all articles
Browse latest Browse all 21

Latest Images

Trending Articles





Latest Images