set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758)
This commit is contained in:
		
							parent
							
								
									9350e691cc
								
							
						
					
					
						commit
						aa3b1144d1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -302,7 +302,7 @@ namespace :mastodon do | ||||||
|           prompt.say 'Running `RAILS_ENV=production rails db:setup` ...' |           prompt.say 'Running `RAILS_ENV=production rails db:setup` ...' | ||||||
|           prompt.say "\n" |           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.say "\n" | ||||||
|             prompt.error 'That failed! Perhaps your configuration is not right' |             prompt.error 'That failed! Perhaps your configuration is not right' | ||||||
|           else |           else | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue