Sha256: b8d918a5976061472abe065f84bcf638df1d5ad37ac703921604db7ec638fe21

Contents?: true

Size: 241 Bytes

Versions: 8

Compression:

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

8 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.5.0-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/valid/1_valid_people_have_last_names.rb