From eca2fe0b50a6da9d76c94feb5a4360170581c942 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 20 Jun 2022 16:49:58 +0100 Subject: [PATCH] Include external SQL server type in schema --- packages/server/src/integrations/microsoftSqlServer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/integrations/microsoftSqlServer.ts b/packages/server/src/integrations/microsoftSqlServer.ts index a7b9906481..530e569405 100644 --- a/packages/server/src/integrations/microsoftSqlServer.ts +++ b/packages/server/src/integrations/microsoftSqlServer.ts @@ -246,6 +246,7 @@ module MSSQLModule { autocolumn: !!autoColumns.find((col: string) => col === name), name: name, ...convertSqlType(def.DATA_TYPE), + externalType: def.DATA_TYPE, } } tables[tableName] = {