We need to initialize migrations here as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2109 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -843,6 +843,7 @@ public class DepotMarshaller<T extends PersistentRecord>
|
|||||||
for (EntityMigration migration : _migrations) {
|
for (EntityMigration migration : _migrations) {
|
||||||
if (!migration.runBeforeDefault() &&
|
if (!migration.runBeforeDefault() &&
|
||||||
migration.shouldRunMigration(currentVersion, _schemaVersion)) {
|
migration.shouldRunMigration(currentVersion, _schemaVersion)) {
|
||||||
|
migration.init(getTableName(), _fields);
|
||||||
ctx.invoke(migration);
|
ctx.invoke(migration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user