method

dump_schema_cache

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: DatabaseTasks
dump_schema_cache(conn, filename) public

Dumps the schema cache in YAML format for the connection into the file

Examples

ActiveRecord::Tasks::DatabaseTasks.dump_schema_cache(ActiveRecord::Base.connection, "tmp/schema_dump.yaml")
Show source
Register or log in to add new notes.