Source

RubyLearning / ProjectTrak / vendor / rails / activerecord / test / migrations / missing / 1000_people_have_middle_names.rb

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

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