Source

RubyLearning / ProjectTrak / vendor / rails / activerecord / test / migrations / interleaved / pass_2 / 1_people_have_last_names.rb

1
2
3
4
5
6
7
8
9
class PeopleHaveLastNames < ActiveRecord::Migration
  def self.up
    add_column "people", "last_name", :string
  end

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