Sha256: 96bf2f11a64a43f3424dcc2717b6f763eb06163b9099307c9e24ca00b578c66f

Contents?: true

Size: 228 Bytes

Versions: 8

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

8 entries across 4 versions & 1 rubygems

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