included shared_database and auto confirm for heroku

This commit is contained in:
Mike Kelley
2011-12-28 15:41:21 -07:00
parent 61c9ddf2c3
commit 7f02bc1c00

View File

@@ -3,7 +3,7 @@ namespace :community do
desc "clears the database"
task :reset do
if Rails.env == "production"
Rake::Task['pg:reset'].invoke
Rake::Task['pg:reset SHARED_DATABASE --confirm forum-monster'].invoke
else
Rake::Task['db:migrate:reset'].invoke
end