This project is archived and is in readonly mode.

Changeset [64373937a393518a6e6a63255176ca297d3c009e] by Phil Smith

April 19th, 2010 @ 03:48 AM

Make the migration generator handle pre-existing migrations with the same timestamp.

In the event a migration already exists with that number, the new migration's timestamp will be incremented by 1.

[#4412 state:resolved]

Signed-off-by: Michael Koziarski michael@koziarski.com
http://github.com/rails/rails/commit/64373937a393518a6e6a63255176ca...

Committed by Phil Smith

  • M activerecord/lib/rails/generators/active_record.rb
  • M railties/test/generators/migration_generator_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>