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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user