Sha256: 4b3135f423d7f52b190d693300cbf3cfa9ba43c20730ead4818021f5d92212b9

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

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