mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Avoid loading user's psqlrc when loading test structure
This commit is contained in:
parent
e5fda36d8a
commit
78fb8bb7e1
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ module ActiveRecord
|
|||
|
||||
def structure_load(filename)
|
||||
set_psql_env
|
||||
Kernel.system("psql -q -f #{Shellwords.escape(filename)} #{configuration['database']}")
|
||||
Kernel.system("psql -X -q -f #{Shellwords.escape(filename)} #{configuration['database']}")
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue