Browse Source

Merge pull request #4060 from nocodb/fix/3955-pg-ui-abstract-mapping

fix: interpret `bigint` and `bigserial` as number on UI level
pull/4072/head
mertmit 2 years ago committed by GitHub
parent
commit
c0895eb6d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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