Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Commit

Permalink
Fixing override of sql_file parameter for pgsql engine
Browse files Browse the repository at this point in the history
  • Loading branch information
gargrag committed May 30, 2017
1 parent fd909d0 commit 70f687b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engines/postgresql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def initialize(params)
@docker_tag ||= '9.5.0'
@docker_env ||= ["POSTGRES_USER=#{@database}", "POSTGRES_DB=#{@database}"]
@port ||= 5432
@sql_file ||= 'PostgreSQL.sql'
@sql_file = params[:sql_file] || 'PostgreSQL.sql'
end

def load_backup(path)
Expand Down

0 comments on commit 70f687b

Please sign in to comment.