Skip to content
Snippets Groups Projects
Commit f5f165a5 authored by 艮 鮟鱇's avatar 艮 鮟鱇 Committed by Eugen Rochko
Browse files

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

parent f89ff65e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment