I just joined a project developing the rails engine, which also has a dummy application for testing.
foo/ foo/spec/dummy/
There are identical migrations in
foo/db/migrate/ foo/spec/dummy/db/migrate/
If I rake db:migrate from a dummy application, all is well. If I do the same with the engine (current directory = foo), I get an error message with multiple migrations with the same name.
Q1) Are rakefills? (should db:migrate return to the dummy application?)
Q2) Should migrations be in only one directory? If so, which one?
We are using Rails 3.2.9, ruby 1.9.3p194.
source share