Sha256: 46f2330983d4cf734425181d2b27b2e40d372270fcaf3837aae3c5ce733b0208

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

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