Go through the fields in declaration order when doing the migration otherwise

we might try to add a field after a field that we haven't yet added.
This commit is contained in:
Michael Bayne
2006-10-11 02:46:41 +00:00
parent 4ccbc4fd2e
commit d9c7a0ca58
@@ -317,7 +317,8 @@ public class DepotMarshaller<T>
columns.add(rs.getString("COLUMN_NAME"));
}
for (FieldMarshaller fmarsh : _fields.values()) {
for (String fname : _allFields) {
FieldMarshaller fmarsh = _fields.get(fname);
if (columns.contains(fmarsh.getColumnName())) {
continue;
}