Sha256: e270f35fbf049ec8d294ec6210fc1a3e18a0f9ec92203359d7d789ec9d1d2c08

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

6 entries across 6 versions & 2 rubygems

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