NoamB/sorcery — Issue #107: Identical version numbers for generated migrations
Author: jarijokinen
Created: 2011-10-25 09:15:54+00:00
State: open

Rake db:migrate fails because the new generator generates migration files with identical version numbers.

** Execute db:migrate
rake aborted!
Multiple migrations have the version number 20111025085921

This happens if you generate multiple migrations at the same time, e.g.

rails generate sorcery:install remember_me reset_password

I'm not sure why are you overriding the next_migration_number method in the install generator? AFAIK it's not necessary, or is it?

Thanks in advance!