You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On our project we collapsed our migrations, and after the first migration runs we have a plugin_schema_info table that looks like this:
+----------------+---------+
| plugin_name | version |
+----------------+---------+
| tags | 3 |
| user | 17 |
+----------------+---------+
We also have an emptyplugin_schema_migrations table.
Later, we run the following:
class UpgradeUserPluginTo18 < ActiveRecord::Migration
def self.up
migrate_plugin('user', 18)
end
...
The code on line 6 of lib/desert/plugin_migrations/2.1/extensions/schema_statements.rb blows up and the exception is eaten silently when the plugin_schema_migrations already exists. The plugin versions are not backfilled and the User plugin migrations run from migration 1.