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

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