aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/migrations/missing/1_people_have_last_names.rb
blob: bd5f5ea11eb089bf8832a5321f7ce37d817c1884 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                             
                                                            


                                             
 


                                       
   
# frozen_string_literal: true

class PeopleHaveLastNames < ActiveRecord::Migration::Current
  def self.up
    add_column "people", "last_name", :string
  end

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