Skip to content

Instantly share code, notes, and snippets.

@etagwerker
Created February 10, 2010 13:09
Show Gist options
  • Save etagwerker/300286 to your computer and use it in GitHub Desktop.
Save etagwerker/300286 to your computer and use it in GitHub Desktop.
namespace :db do
desc "drops, creates, migrates and seeds the database"
task :reload do
Rake::Task["db:drop"].invoke
Rake::Task["db:create"].invoke
Rake::Task["db:migrate"].invoke
Rake::Task["db:seed"].invoke
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment