If we're creating a table the first time, note that we now expect the current

version to be 0, not -1.
This commit is contained in:
Michael Bayne
2012-01-13 18:35:29 +00:00
parent 55a866842b
commit dbf0684567
@@ -516,6 +516,7 @@ public class DepotMarshaller<T extends PersistentRecord> implements QueryMarshal
log.info("Creating initial version record for " + _pClass.getName() + ".");
// if not, create a version entry with version zero
_meta.initializeVersion(getTableName());
currentVersion = 0;
}
// now check whether we need to migrate our database schema