Sha256: 993b028b6bc9f5f759b419dce428502b564637ffa0228b13080fadcfdf14a80e

Contents?: true

Size: 241 Bytes

Versions: 8

Compression:

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

8 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.5.0-x86-mingw32 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/to_copy/2_people_have_descriptions.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/to_copy_with_timestamps/20090101010202_people_have_descriptions.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/to_copy/2_people_have_descriptions.rb