fix: for no password we should use empty string

main
Washington Botelho 2022-05-18 10:40:21 -03:00
parent 0944c5135b
commit 60610b818d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ when 'mysql'
when 'postgres' when 'postgres'
require 'pg' require 'pg'
client = PG::Connection.new(host: conn_params[:host], user: :postgres) client = PG::Connection.new(host: conn_params[:host], password: '', user: :postgres)
conn_params[:adapter] = :postgresql conn_params[:adapter] = :postgresql
conn_params[:username] = :postgres conn_params[:username] = :postgres