diff --git a/packages/core/database/src/view/field-type-map.ts b/packages/core/database/src/view/field-type-map.ts index 31ae715cb8..42bb0c2d0a 100644 --- a/packages/core/database/src/view/field-type-map.ts +++ b/packages/core/database/src/view/field-type-map.ts @@ -10,7 +10,7 @@ const postgres = { smallint: 'integer', integer: 'integer', bigint: 'bigInt', - decimal: 'float', + decimal: 'decimal', numeric: 'float', real: 'float', 'double precision': 'float', @@ -45,6 +45,7 @@ const mysql = { date: 'date', time: 'time', varchar: 'string', + decimal: 'decimal', text: 'text', longtext: 'text', int: 'integer',