Sha256: 5fccc56687bee6fa2a38c90208e8396c9e110e2dc277d9e514175db5fa66e7d5

Contents?: true

Size: 236 Bytes

Versions: 4

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

class PeopleHaveLastNames < 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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/missing/1_people_have_last_names.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/missing/1_people_have_last_names.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/missing/1_people_have_last_names.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/missing/1_people_have_last_names.rb