logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f5f165a5ebad5493a0d127c89b92876ffb75b0ef
parent: f89ff65ec72d28723c09b71a1635b7fb66ff021a
Author: 艮 鮟鱇 <ushitora_anqou@yahoo.co.jp>
Date:   Tue, 13 Mar 2018 00:21:48 +0900

set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758)


Diffstat:

Mlib/tasks/mastodon.rake2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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