aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy_with_timestamps/20090101010101_people_have_hobbies.rb
blob: 65b92fbb8590fed48de40e130728c3a504e3821b (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", :text
  end

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