Sha256: 6ad971111afdd54dea58dee7439002b91ae04fcf84efb146b79405e029313702

Contents?: true

Size: 190 Bytes

Versions: 28

Compression:

Stored size: 190 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

28 entries across 14 versions & 3 rubygems

Version Path
ibm_db-3.0.4-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.4-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.4 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.4 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.3 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.3 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.2 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.2 test/migrations/valid/1_valid_people_have_last_names.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.1 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-3.0.1 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.1-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-3.0.1-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
activejob-lock-0.0.1 rails/activerecord/test/migrations/valid/1_valid_people_have_last_names.rb
activejob-lock-0.0.1 rails/activerecord/test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb