Browse Source

fix: interpret `bigint` and `bigserial` as number on UI level

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4060/head
mertmit 2 years ago
parent
commit
f54fbc6851
  1. 5
      packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts

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

@ -1367,9 +1367,6 @@ export class PgUi {
case 'bit': case 'bit':
return 'integer'; return 'integer';
case 'bigint':
case 'bigserial':
return 'string';
case 'bool': case 'bool':
return 'boolean'; return 'boolean';
@ -1412,6 +1409,8 @@ export class PgUi {
case 'int4': case 'int4':
case 'int8': case 'int8':
case 'integer': case 'integer':
case 'bigint':
case 'bigserial':
return 'integer'; return 'integer';
case 'int4range': case 'int4range':
case 'int8range': case 'int8range':

Loading…
Cancel
Save