From f5f165a5ebad5493a0d127c89b92876ffb75b0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=AE=20=E9=AE=9F=E9=B1=87?= Date: Tue, 13 Mar 2018 00:21:48 +0900 Subject: [PATCH] set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758) --- lib/tasks/mastodon.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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