Heroku - Reset pg database
In project dir, do:
$ heroku pg:reset DATABASE
them, using Rails
$ heroku run rake db:setup
Written by Nícolas Lazarte Kaqui
Related protips
1 Response
Because one can't use rake db:create nor rake db:drop in heroku
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#