1
0
Fork 0
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:
Jason Weathered 2015-03-25 09:21:16 +10:00
parent e5fda36d8a
commit 78fb8bb7e1

View file

@ -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