fix: for no password we should use empty string
parent
0944c5135b
commit
60610b818d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue