aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/rename/2_rename_things.rb
blob: cb8484e7dcd5076151883fca6a48f20071ffc308 (plain) (blame)
1
2
3
4
5
6
7
8
9
class RenameThings < ActiveRecord::Migration::Current
  def self.up
    rename_table "things", "awesome_things"
  end

  def self.down
    rename_table "awesome_things", "things"
  end
end