Skip to content

Commit d46558d

Browse files
committed
Order of analyzeColumns and analyzeTable was wrong
1 parent 1cace0b commit d46558d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/javawebstack/orm/TableInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public TableInfo(Class<? extends Model> model, ORMConfig config) throws ORMConfi
5757
}
5858

5959
private void constructInfo (Class<? extends Model> model) throws ORMConfigurationException {
60-
analyzeTable(model);
6160
analyzeColumns(model);
61+
analyzeTable(model);
6262

6363
if (!fields.containsKey(idField))
6464
idField = "uuid";

0 commit comments

Comments
 (0)