aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
blob: 1d19d5d6f406e5675550abcbcc9585b81a966f2e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                             
                                                               







                                             
# frozen_string_literal: true

class PeopleHaveDescriptions < ActiveRecord::Migration::Current
  def self.up
    add_column "people", "description", :text
  end

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