Method: ActiveRecord::Tasks::SQLiteDatabaseTasks#structure_load

Defined in:
lib/active_record/tasks/sqlite_database_tasks.rb

#structure_load(filename, extra_flags) ⇒ Object



60
61
62
63
# File 'lib/active_record/tasks/sqlite_database_tasks.rb', line 60

def structure_load(filename, extra_flags)
  flags = extra_flags.join(" ") if extra_flags
  `sqlite3 #{flags} #{db_config.database} < "#{filename}"`
end