method
structure_load
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::Tasks::PostgreSQLDatabaseTasks
structure_load(filename)public
No documentation available.
# File activerecord/lib/active_record/tasks/postgresql_database_tasks.rb, line 60
def structure_load(filename)
set_psql_env
Kernel.system("psql -q -f #{Shellwords.escape(filename)} #{configuration['database']}")
end