Module: DataMigrations

Defined in:
lib/data_migrations.rb,
lib/data_migrations/setup.rb,
lib/data_migrations/table.rb,
lib/data_migrations/column.rb,
lib/data_migrations/version.rb,
lib/data_migrations/migration.rb,
lib/data_migrations/instruction.rb,
lib/data_migrations/instruction/set.rb,
lib/data_migrations/instruction/base.rb,
lib/data_migrations/instruction/copy.rb,
lib/data_migrations/instruction/exec.rb,
lib/data_migrations/instruction/remove.rb

Defined Under Namespace

Modules: Setup Classes: Column, Instruction, Migration, Table

Constant Summary collapse

VERSION =
"0.0.1"

Instance Method Summary collapse

Instance Method Details

#migrate_table(name, options, &block) ⇒ Object Also known as: migrate_data



11
12
13
# File 'lib/data_migrations.rb', line 11

def migrate_table(name, options, &block)
  Migration.new(name, options, &block).run!
end