Sha256: 1722ebe304b49bfd87c1435620219242840fad3b9542e15c57b6bcc04f7f2dc7

Contents?: true

Size: 217 Bytes

Versions: 14

Compression:

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

14 entries across 7 versions & 2 rubygems

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