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 'float4':
case 'float8':
case 'numeric':
return 'float';
case 'gtsvector':
@ -465,7 +466,6 @@ class ModelXcMetaPg extends BaseModelXcMeta {
case 'macaddr':
case 'money':
case 'name':
case 'numeric':
case 'numrange':
case 'oid':
case 'opaque':

Loading…
Cancel
Save