Class: ETL::Execution::Migration
- Defined in:
- lib/etl/execution/migration.rb
Overview
Handles migration of tables required for persistent storage of meta data for the ETL engine
Class Method Summary collapse
-
.migrate ⇒ Object
Execute the migrations.
Class Method Details
.migrate ⇒ Object
Execute the migrations
16 17 18 19 20 21 22 |
# File 'lib/etl/execution/migration.rb', line 16 def migrate connection.initialize_schema_migrations_table last_migration.upto(target - 1) do |i| __send__("migration_#{i+1}".to_sym) connection.assume_migrated_upto_version(i+1) end end |