Sha256: f69284f765526ab7029439e2dcd7979eddaac37578e0a7d42a5a864f594d6c61

Contents?: true

Size: 230 Bytes

Versions: 12

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

12 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.5.0 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.4.1 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.4.1 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.4.0 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.4.0 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.3.2 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.3.2 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.3.1 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.3.1 test/migrations/valid/1_valid_people_have_last_names.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/valid/1_valid_people_have_last_names.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb