Module: PgSaurus::SchemaDumper::SchemaMethods
- Included in:
- PgSaurus::SchemaDumper
- Defined in:
- lib/pg_saurus/schema_dumper/schema_methods.rb
Overview
Extends ActiveRecord::SchemaDumper class to dump schemas other than “public” and tables from those schemas.
Instance Method Summary collapse
Instance Method Details
#header(stream) ⇒ Object
6 7 8 9 |
# File 'lib/pg_saurus/schema_dumper/schema_methods.rb', line 6 def header(stream) super dump_schemas(stream) end |
#schemas ⇒ Object
We are already dumping the schemas through #header
14 15 |
# File 'lib/pg_saurus/schema_dumper/schema_methods.rb', line 14 def schemas(...) end |