From: 艮 鮟鱇 Date: Mon, 12 Mar 2018 15:21:48 +0000 (+0900) Subject: set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f5f165a5ebad5493a0d127c89b92876ffb75b0ef;p=mastodon.git set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758) --- diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake index d6c9e2d01..6ea76d738 100644 --- a/lib/tasks/mastodon.rake +++ b/lib/tasks/mastodon.rake @@ -302,7 +302,7 @@ namespace :mastodon do prompt.say 'Running `RAILS_ENV=production rails db:setup` ...' prompt.say "\n" - if cmd.run!({ RAILS_ENV: 'production' }, :rails, 'db:setup').failure? + if cmd.run!({ RAILS_ENV: 'production', SAFETY_ASSURED: 1 }, :rails, 'db:setup').failure? prompt.say "\n" prompt.error 'That failed! Perhaps your configuration is not right' else