Class: DataTransformation::Schema
- Inherits:
-
Transformation
- Object
- ActiveRecord::Migration
- Transformation
- DataTransformation::Schema
- Defined in:
- lib/data_transformation/schema.rb
Class Method Summary collapse
Methods inherited from Transformation
Class Method Details
.define(info = {}) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/data_transformation/schema.rb', line 3 def self.define(info={}) unless info[:version].blank? initialize_schema_migrations_table ActiveRecord::Base.connection.assume_migrated_upto_version(info[:version], info[:transforms_path]) end end |