Sha256: d17d0b074ade6a1039b5847568e044cdf32f6ddb2aa57f4d0251f13c37483bf8

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 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.rc2"

  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.rc2 lib/lhm.rb