From 2532edba8000006cbaf00d9cb442b79bf6ab7f0e Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sat, 2 Jun 2007 00:07:41 +0000 Subject: [PATCH] We need to initialize migrations here as well. --- src/java/com/samskivert/jdbc/depot/DepotMarshaller.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java index d9c4f43..c38a12d 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java +++ b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java @@ -843,6 +843,7 @@ public class DepotMarshaller for (EntityMigration migration : _migrations) { if (!migration.runBeforeDefault() && migration.shouldRunMigration(currentVersion, _schemaVersion)) { + migration.init(getTableName(), _fields); ctx.invoke(migration); } }