Created
July 10, 2013 19:21
-
-
Save jameslafa/5969343 to your computer and use it in GitHub Desktop.
Rebuild schema.rb from scratch using every migrations
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
# Rebuild database from schema.rb | |
rake db:reset | |
# But this rebuild database from all migrations | |
rake db:drop db:create db:migrate db:seed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment