Sha256: ced92f6403b4e8bce121ce087dd00f78b7deca77e9630b26a323e9166740188d

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.4.1-x86-mingw32 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.4.0-x86-mingw32 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.3.2-x86-mingw32 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb