Forum: Rails Engines How do I use migrations ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gary Taylor (Guest)
on 2008-10-06 22:21
(Received via mailing list)
  I have been using engines for a month or so and have been using the
migration generator which simply puts a migration in the normal place
which then asks the relevant engines plugin to do the migration.
But, if my plugin needs say a field adding to a table, if I then add a
new migration to the plugin and do rake db:migrate, nothing happens -
everything is up to date.
If I run the generator again, it will generate a new migration which
conflicts with the original - it migrates the plugin from zero to the
latest - where surely it should migrate it from the previous version
to the latest ?

Any ideas ?


Space Ship T. (Guest)
on 2008-10-07 01:36
(Received via mailing list)

I'm currently trying to get a patch accepted which resolves the problem.

Feel free to try it out.

Kind regards,
This topic is locked and can not be replied to.