Sha256: 79343ffb8fab39cb1187656a57e2884bf301e0280c51123ef0547bfdc8d65dfa

Contents?: true

Size: 230 Bytes

Versions: 12

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

12 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.5.0 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.4.1 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.4.1 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.4.0 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.4.0 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.3.2 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.3.2 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.3.1 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.3.1 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/to_copy/2_people_have_descriptions.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb