Browse Source

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

pull/4/head
艮 鮟鱇 6 years ago
committed by Eugen Rochko
parent
commit
f5f165a5eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/tasks/mastodon.rake

+ 1
- 1
lib/tasks/mastodon.rake View File

@ -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' class="p">, SAFETY_ASSURED: 1 }, :rails, 'db:setup').failure?
prompt.say "\n"
prompt.error 'That failed! Perhaps your configuration is not right'
else

Loading…
Cancel
Save