aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
blob: d4cbddab505acd74061de44af8bb63a8091c26c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
class PeopleHaveLastNames < ActiveRecord::Migration::Current
  def self.up
    add_column "people", "description", :text
  end

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