aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/rename/2_rename_things.rb
blob: 110fe3f0fa7c2e6eaa73640358653494234197d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class RenameThings < ActiveRecord::Migration::Current
  def self.up
    rename_table "things", "awesome_things"
  end

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