Class: Ec::Pg::SchemaRegistry::SchemaMigrationCloner
- Defined in:
- lib/ec/pg/schema_registry/schema_migration_cloner.rb
Constant Summary
Constants inherited from Cloner
Cloner::PgDumpBlacklistedStatements
Instance Attribute Summary
Attributes inherited from Cloner
Instance Method Summary collapse
Methods inherited from Cloner
#call, #matches_blacklist?, #patched_search_path, #swap_schema_qualifier
Methods included from Mixin
#configurations, #shell_command, #with_pg_env
Instance Method Details
#default_schema_dump ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/ec/pg/schema_registry/schema_migration_cloner.rb', line 7 def default_schema_dump with_pg_env { shell_command( %( pg_dump -a --inserts -t #{Ec::Pg.configuration.default_schema}.schema_migrations -t #{Ec::Pg.configuration.default_schema}.ar_internal_metadata #{configurations[:database]} ) ) } end |