Sha256: 1075f95638c4aafd17eb2229bea2e06b7744823d1ca68266769d5538420452b9

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

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

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

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
ibm_db-3.0.5-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.5-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.5 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.5 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb