aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy_with_name_collision/1_people_have_hobbies.rb
blob: ea106d5be49b3886f1fccf519efae1a044640b63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true
class PeopleHaveHobbies < ActiveRecord::Migration::Current
  def self.up
    add_column "people", "hobbies", :string
  end

  def self.down
    remove_column "people", "hobbies"
  end
end