diff --git a/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts index ab4d2ea19b..95abb59a61 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts @@ -1435,13 +1435,12 @@ export class PgUi { return 'date'; case 'daterange': return 'string'; - case 'double precision': - return 'float'; case 'event_trigger': case 'fdw_handler': return 'string'; + case 'double precision': case 'float4': case 'float8': return 'float'; diff --git a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts index 78eea3da5e..1ddd306e20 100644 --- a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts +++ b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts @@ -114,7 +114,7 @@ class ModelXcMetaPg extends BaseModelXcMeta { str = 'date'; break; case 'double precision': - str = 'float'; + str = 'double'; break; case 'event_trigger': str = 'event_trigger';