Created
April 9, 2013 21:56
-
-
Save acook/5349778 to your computer and use it in GitHub Desktop.
`rake db:reset` will call `db:seed` without calling `db:migrate` first, this gets around that.
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
#!/usr/bin/env bash | |
# If running `rake db:reset` or `rake db:seed` fails, try this: | |
rake db:drop db:create db:schema:load db:migrate db:seed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment