included shared_database and auto confirm for heroku
This commit is contained in:
@@ -3,7 +3,7 @@ namespace :community do
|
|||||||
desc "clears the database"
|
desc "clears the database"
|
||||||
task :reset do
|
task :reset do
|
||||||
if Rails.env == "production"
|
if Rails.env == "production"
|
||||||
Rake::Task['pg:reset'].invoke
|
Rake::Task['pg:reset SHARED_DATABASE --confirm forum-monster'].invoke
|
||||||
else
|
else
|
||||||
Rake::Task['db:migrate:reset'].invoke
|
Rake::Task['db:migrate:reset'].invoke
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user