Commit c6f5b96b authored by Mike Wyatt's avatar Mike Wyatt

allow force=yes rake gitlab:setup for capistrano deploy:cold

parent bed50009
......@@ -7,10 +7,12 @@ namespace :gitlab do
def setup_db
warn_user_is_not_gitlab
unless ENV['force'] == 'yes'
puts "This will create the necessary database tables and seed the database."
puts "You will lose any previous data stored in the database."
ask_to_continue
puts ""
end
Rake::Task["db:setup"].invoke
Rake::Task["db:seed_fu"].invoke
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment