Sha256: 0e4236bf044c2b4d68edb93138f9673ac0a6f638193f11728e1ef56ba0f534bb

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

#
#  Copyright (c) 2011, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias
#  Schmidt
#

require 'lhm/table'
require 'lhm/invoker'
require 'lhm/migration'

module Lhm
  VERSION = "1.0.0.rc.1"

  def hadron_change_table(table_name, chunk_options = {}, &block)
    origin = Table.parse(table_name, connection)
    invoker = Invoker.new(origin, connection)
    block.call(invoker.migrator)
    invoker.run(chunk_options)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lhm-1.0.0.rc.1 lib/lhm.rb