Skip to content

Commit 63a767c

Browse files
committed
Added "integer" keyword to the Field class
1 parent ea30b4c commit 63a767c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javaxt/orm/Field.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected Field(String name, String type, Model model){
3232
this.columnName = Utils.camelCaseToUnderScore(name);
3333

3434
//Set columnType and tweak type as needed
35-
if (type.equalsIgnoreCase("int")){
35+
if (type.equalsIgnoreCase("int") || type.equalsIgnoreCase("integer")){
3636
type = "Integer";
3737
columnType = "integer";
3838
}

0 commit comments

Comments
 (0)