Browse Source

fix: handle numeric as float in postgres

pull/9447/head
Pranav C 3 months ago
parent
commit
81286124c3
  1. 2
      packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts

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

@ -438,6 +438,7 @@ class ModelXcMetaPg extends BaseModelXcMeta {
case 'double precision': case 'double precision':
case 'float4': case 'float4':
case 'float8': case 'float8':
case 'numeric':
return 'float'; return 'float';
case 'gtsvector': case 'gtsvector':
@ -465,7 +466,6 @@ class ModelXcMetaPg extends BaseModelXcMeta {
case 'macaddr': case 'macaddr':
case 'money': case 'money':
case 'name': case 'name':
case 'numeric':
case 'numrange': case 'numrange':
case 'oid': case 'oid':
case 'opaque': case 'opaque':

Loading…
Cancel
Save