Sha256: 836de3f8e9b7fec523b711408d29290e4679478080dcf56bf80c2496a5c62bc0

Contents?: true

Size: 186 Bytes

Versions: 277

Compression:

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

277 entries across 101 versions & 6 rubygems

Version Path
activerecord-1.13.0 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.11.1 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.10.1 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.12.1 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.13.0 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
activerecord-1.11.0 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.10.0 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.12.2 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.14.1 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.13.2 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.13.1 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
activerecord-1.14.2 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
activerecord-1.14.3 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.13.2 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
activerecord-1.14.0 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
activerecord-1.14.2 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.13.1 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.14.0 test/fixtures/migrations/1_people_have_last_names.rb
activerecord-1.14.1 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
activerecord-1.14.3 test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb