When we create a table for a persistent record, set the starting version to the

correct value to avoid spuriously trying to migrate it immediately thereafter.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2065 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-03-01 23:43:21 +00:00
parent fcfe6c239c
commit 1335ce4b2e
@@ -633,7 +633,7 @@ public class DepotMarshaller<T extends PersistentRecord>
_postamble);
String[] definition = _declarations.toArray(new String[_declarations.size()]);
JDBCUtil.createTableIfMissing(conn, getTableName(), definition, _postamble);
updateVersion(conn, 1);
updateVersion(conn, _schemaVersion);
}
return 0;
}