Created
May 15, 2014 19:28
-
-
Save natekandler/6c9fd0f9892bf393671e to your computer and use it in GitHub Desktop.
rake db:YOLO!
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
# put in rakefile under - namespace :db | |
# also in namespace :db, make sure create and drop end with system rather than exec | |
desc "Drop Create and Migrate yo DB" | |
task :yolo => ["db:drop", "db:create", "db:migrate"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment