Sha256: 7c04807f763189428f0ed9ff12ae0aa75de3539626b03c627409f2d39ddbd7d1

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

6 entries across 6 versions & 2 rubygems

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