Sha256: 4209ab5065bd336c85071b3fb585ee4d9463e00ac36519b9b89d225ed879e025

Contents?: true

Size: 184 Bytes

Versions: 556

Compression:

Stored size: 184 Bytes

Contents

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

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

Version data entries

556 entries across 119 versions & 24 rubygems

Version Path
activerecord-2.1.2 test/migrations/interleaved/pass_2/1_people_have_last_names.rb
activerecord-2.1.2 test/migrations/interleaved/pass_3/1_people_have_last_names.rb
activerecord-2.1.1 test/migrations/missing/1_people_have_last_names.rb
activerecord-2.1.2 test/migrations/missing/1_people_have_last_names.rb
activerecord-2.1.0 test/migrations/interleaved/pass_2/1_people_have_last_names.rb
activerecord-2.2.2 test/migrations/duplicate/1_people_have_last_names.rb
activerecord-2.2.2 test/migrations/missing/1_people_have_last_names.rb
activerecord-2.3.2 test/migrations/duplicate/1_people_have_last_names.rb
activerecord-2.3.2 test/migrations/interleaved/pass_2/1_people_have_last_names.rb
activerecord-2.3.2 test/migrations/interleaved/pass_3/1_people_have_last_names.rb
activerecord-2.3.2 test/migrations/valid/1_people_have_last_names.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb
antfarm-0.3.0 rails/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb
antfarm-0.4.0 rails/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb
antfarm-0.4.0 rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb
antfarm-0.4.0 rails/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb
antfarm-0.4.0 rails/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb