We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df1ea55 commit 10d3f4fCopy full SHA for 10d3f4f
1 file changed
adminforth/dataConnectors/sqlite.ts
@@ -101,6 +101,9 @@ class SQLiteConnector extends AdminForthBaseConnector implements IAdminForthData
101
const [precision, scale] = baseType.match(/\d+/g);
102
field.precision = parseInt(precision);
103
field.scale = parseInt(scale);
104
+ } else if (baseType == 'json' || baseType == 'jsonb') {
105
+ field.type = AdminForthDataTypes.JSON;
106
+ field._underlineType = baseType;
107
} else if (baseType === 'decimal') {
108
field.type = AdminForthDataTypes.DECIMAL;
109
field._underlineType = 'decimal';
0 commit comments