File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
adminforth/dataConnectors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ class MysqlConnector extends AdminForthBaseConnector implements IAdminForthDataS
86
86
} else if ( baseType . startsWith ( 'json' ) ) {
87
87
field . type = AdminForthDataTypes . JSON ;
88
88
field . _underlineType = 'json' ;
89
- } else if ( baseType . startsWith ( 'date' ) ) {
90
- field . type = AdminForthDataTypes . DATE ;
91
- field . _underlineType = 'date' ;
92
89
} else if ( baseType . startsWith ( 'time' ) ) {
93
90
field . type = AdminForthDataTypes . TIME ;
94
91
field . _underlineType = 'time' ;
95
92
} else if ( baseType . startsWith ( 'datetime' ) || baseType . startsWith ( 'timestamp' ) ) {
96
93
field . type = AdminForthDataTypes . DATETIME ;
97
94
field . _underlineType = 'timestamp' ;
95
+ } else if ( baseType . startsWith ( 'date' ) ) {
96
+ field . type = AdminForthDataTypes . DATE ;
97
+ field . _underlineType = 'date' ;
98
98
} else if ( baseType . startsWith ( 'year' ) ) {
99
99
field . type = AdminForthDataTypes . INTEGER ;
100
100
field . _underlineType = 'year' ;
You can’t perform that action at this time.
0 commit comments