Created
January 25, 2015 09:14
-
-
Save anujmiddha/7b0d80a6ba141e29d61f to your computer and use it in GitHub Desktop.
dokku database reset instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dokku postgresql:delete db-name | |
dokku postgresql:create db-name | |
dokku postgresql:link app-name db-name | |
dokku run app-name rake db:migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this should be:
dokku postgresql:link db-name app-name