Sha256: ebc534a4e279fd961fb0571b9f876b56e83ec69fb54cc43275a692e70d5be9b8

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

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

6 entries across 6 versions & 2 rubygems

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