Class: Apartment::Adapters::PostgresqlSchemaFromSqlAdapter
- Inherits:
-
PostgresqlSchemaAdapter
- Object
- AbstractAdapter
- PostgresqlSchemaAdapter
- Apartment::Adapters::PostgresqlSchemaFromSqlAdapter
- Defined in:
- lib/apartment/adapters/postgresql_adapter.rb
Overview
Another Adapter for Postgresql when using schemas and SQL
Constant Summary collapse
- PSQL_DUMP_BLACKLISTED_STATEMENTS =
[ /SET search_path/i, # overridden later /SET lock_timeout/i, # new in postgresql 9.3 /SET row_security/i, # new in postgresql 9.5 /SET idle_in_transaction_session_timeout/i, # new in postgresql 9.6 ]
Instance Attribute Summary
Attributes inherited from AbstractAdapter
Instance Method Summary collapse
Methods inherited from PostgresqlSchemaAdapter
Methods inherited from AbstractAdapter
#create, #current, #drop, #each, #initialize, #process_excluded_models, #reset, #seed_data, #switch, #switch!
Constructor Details
This class inherits a constructor from Apartment::Adapters::PostgresqlSchemaAdapter
Instance Method Details
#import_database_schema ⇒ Object
115 116 117 118 |
# File 'lib/apartment/adapters/postgresql_adapter.rb', line 115 def import_database_schema clone_pg_schema copy_schema_migrations end |