Sha256: c77bd175937b62ee481a385591820142466986ebaa450adf590d0d3c2e7c3e73

Contents?: true

Size: 192 Bytes

Versions: 84

Compression:

Stored size: 192 Bytes

Contents

class PeopleHaveMiddleNames < ActiveRecord::Migration
  def self.up
    add_column "people", "middle_name", :string
  end
  
  def self.down
    remove_column "people", "middle_name"
  end
end

Version data entries

84 entries across 84 versions & 6 rubygems

Version Path
activerecord-1.15.0 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-1.15.1 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-1.15.2 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-1.15.3 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-1.15.4 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-1.15.6 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-1.15.5 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-2.0.4 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-2.0.0 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-2.0.2 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-2.0.5 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord-2.0.1 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
activerecord_authorails-1.0.0 test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.0.0 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.0.1 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.0.2 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.0.4 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.0.5 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.1.0 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb
backlog-0.1.1 vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb