Sha256: 546fb6be69ad363390e303b8d5f4b92bda18a67b79b20875145812bd27292aa9

Contents?: true

Size: 213 Bytes

Versions: 8

Compression:

Stored size: 213 Bytes

Contents

class ValidWithTimestampsPeopleHaveLastNames < ActiveRecord::Migration::Current
  def self.up
    add_column "people", "last_name", :string
  end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ibm_db-5.2.0 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.1.0 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.0.5 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.0.4 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.0.3 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.0.2 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-4.0.0-x86-mingw32 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-4.0.0 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb