diff options
author | 艮 鮟鱇 <ushitora_anqou@yahoo.co.jp> | 2018-03-13 00:21:48 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-12 16:21:48 +0100 |
commit | f5f165a5ebad5493a0d127c89b92876ffb75b0ef (patch) | |
tree | 1b98802178fe0fc37a730228193023c26f9cee13 /lib | |
parent | f89ff65ec72d28723c09b71a1635b7fb66ff021a (diff) |
set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/mastodon.rake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |