We need to initialize migrations here as well.
This commit is contained in:
@@ -843,6 +843,7 @@ public class DepotMarshaller<T extends PersistentRecord>
|
||||
for (EntityMigration migration : _migrations) {
|
||||
if (!migration.runBeforeDefault() &&
|
||||
migration.shouldRunMigration(currentVersion, _schemaVersion)) {
|
||||
migration.init(getTableName(), _fields);
|
||||
ctx.invoke(migration);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user