soundcloud / lhm

Online MySQL schema migrations
BSD 3-Clause "New" or "Revised" License
1.83k stars 190 forks source link

Undefined method 'rename_table' for Lhm #132

Open makotogitdev opened 8 years ago

makotogitdev commented 8 years ago

Could someone tell me the correct syntax for renaming a table using Lhm? When I do something like this I get an undefined method error.

Lhm.change_table :foo do |t|
  t.rename_table :bar
end