Sha256: 1bdcc8eb2365f90568b30dc1e7febda5e40d3c7c0357835a29e336c49cb75a80

Contents?: true

Size: 200 Bytes

Versions: 8

Compression:

Stored size: 200 Bytes

Contents

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ibm_db-5.2.0 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-5.1.0 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-5.0.5 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-5.0.4 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-5.0.3 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-5.0.2 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-4.0.0-x86-mingw32 test/migrations/missing/1000_people_have_middle_names.rb
ibm_db-4.0.0 test/migrations/missing/1000_people_have_middle_names.rb