Sha256: 8ab447ae09367c52153ebc6dae7d93725fa21f726cdb016fa7e4d8ebd6d35734

Contents?: true

Size: 244 Bytes

Versions: 6

Compression:

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

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.4.1 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.4.0 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.3.2 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ibm_db-5.3.1 test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb
ruby-on-quails-0.1.0 activerecord/test/migrations/valid_with_timestamps/20100101010101_valid_with_timestamps_people_have_last_names.rb