From e98b827a8204c9d8475f902129457e5ba36c3793 Mon Sep 17 00:00:00 2001 From: Khisby Al Ghofari Date: Mon, 17 Jul 2023 00:10:54 +0700 Subject: [PATCH 1/2] fix: wrong mysql meta sync UI Data Type --- .../nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMysql.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMysql.ts b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMysql.ts index 84d478c6d2..faadaa9fd3 100644 --- a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMysql.ts +++ b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMysql.ts @@ -322,7 +322,7 @@ class ModelXcMetaMysql extends BaseModelXcMeta { case 'set': return 'MultiSelect'; case 'json': - return 'LongText'; + return 'JSON'; case 'blob': return 'LongText'; case 'geometry': From 8ab7166717e0614c0424f32788e86491970c6605 Mon Sep 17 00:00:00 2001 From: Khisby Al Ghofari Date: Tue, 18 Jul 2023 09:14:38 +0700 Subject: [PATCH 2/2] fix: wrong mysql meta sync UI Data Type --- .../nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMssql.ts | 2 +- .../nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaOracle.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMssql.ts b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMssql.ts index d9180c812f..8a1d85fca9 100644 --- a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMssql.ts +++ b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaMssql.ts @@ -590,7 +590,7 @@ class ModelXcMetaMssql extends BaseModelXcMeta { case 'set': return 'MultiSelect'; case 'json': - return 'LongText'; + return 'JSON'; case 'blob': return 'LongText'; case 'geometry': diff --git a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaOracle.ts b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaOracle.ts index 997d886de4..e216a151fe 100644 --- a/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaOracle.ts +++ b/packages/nocodb/src/db/sql-mgr/code/models/xc/ModelXcMetaOracle.ts @@ -370,7 +370,7 @@ class ModelXcMetaOracle extends BaseModelXcMeta { case 'set': return 'MultiSelect'; case 'json': - return 'LongText'; + return 'JSON'; } }