method
structure_load
v4.2.7 -
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 59
def structure_load(filename)
set_psql_env
args = [ '-q', '-f', filename, configuration['database'] ]
run_cmd('psql', args, 'loading')
end