Browse Source

requested changes

pull/8353/head
Mahesh Dhoran 7 months ago
parent
commit
df260a05c4
  1. 3
      packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts
  2. 2
      packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts

3
packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts

@ -1435,13 +1435,12 @@ export class PgUi {
return 'date'; return 'date';
case 'daterange': case 'daterange':
return 'string'; return 'string';
case 'double precision':
return 'float';
case 'event_trigger': case 'event_trigger':
case 'fdw_handler': case 'fdw_handler':
return 'string'; return 'string';
case 'double precision':
case 'float4': case 'float4':
case 'float8': case 'float8':
return 'float'; return 'float';

2
packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts

@ -114,7 +114,7 @@ class ModelXcMetaPg extends BaseModelXcMeta {
str = 'date'; str = 'date';
break; break;
case 'double precision': case 'double precision':
str = 'float'; str = 'double';
break; break;
case 'event_trigger': case 'event_trigger':
str = 'event_trigger'; str = 'event_trigger';

Loading…
Cancel
Save