Browse Source

fix: json inference in pg

pull/2492/head
sine 2 years ago
parent
commit
f7194562e9
  1. 5
      packages/nocodb/src/lib/db/sql-mgr/code/models/xc/ModelXcMetaPg.ts

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

@ -439,7 +439,7 @@ class ModelXcMetaPg extends BaseModelXcMeta {
case 'set':
return 'MultiSelect';
case 'json':
return 'LongText';
return 'JSON';
case 'blob':
return 'LongText';
case 'geometry':
@ -512,9 +512,8 @@ class ModelXcMetaPg extends BaseModelXcMeta {
case 'interval':
return 'string';
case 'json':
return 'json';
case 'jsonb':
return 'string';
return 'json';
case 'language_handler':
case 'lsec':

Loading…
Cancel
Save