Class: ActualDbSchema::MigrationContext
- Inherits:
-
Object
- Object
- ActualDbSchema::MigrationContext
- Includes:
- Singleton
- Defined in:
- lib/actual_db_schema/migration_context.rb
Overview
The class manages connections to each database and provides the appropriate migration context for each connection.
Instance Method Summary collapse
Instance Method Details
#each ⇒ Object
8 9 10 11 12 13 |
# File 'lib/actual_db_schema/migration_context.rb', line 8 def each configs.each do |db_config| establish_connection(db_config) yield context end end |