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.
How to reset Heroku databases with the Scheduler
↧
↧
Trending Articles
More Pages to Explore .....