aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/migrations/rename/2_rename_things.rb
blob: 533a113ea86de3cb8cafd82d965581ab9818489b (plain) (tree)
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