From 7932dbde0e2cfbf7f60ce106055839e7ca7cf274 Mon Sep 17 00:00:00 2001 From: mdb Date: Sat, 2 Jun 2007 00:07:41 +0000 Subject: [PATCH] We need to initialize migrations here as well. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2109 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- 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 d9c4f433..c38a12d4 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); } }