method
dump_schema_cache
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::Tasks::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")