Project

General

Profile

Rails 2.2.x and Plugin migration changes

Added by Eric Davis about 15 years ago

With the latest Rails branch in trunk (r2493), the way plugins manage the migrations has changed. Instead of storing the version of the plugin in plugin_schema_info, Rails Engines now stores them in the main schema_migrations table. This is important because if the plugin migration data isn't moved to schema_migrations, rake db:migrate_plugins will fail the next time it runs.

To update your plugin schema, run rake db:migrate:upgrade_plugin_migrations

I've added a note to RedmineUpgrade.

Eric