From a92dd1b26b1a2f6ebe5c01298156dc3b612f930f Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 7 Jan 2022 14:10:26 +0000 Subject: [PATCH] Fixing issue #3740 - using text rather than string for mysql/postgres table column creation. --- packages/server/src/integrations/base/sqlTable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/integrations/base/sqlTable.ts b/packages/server/src/integrations/base/sqlTable.ts index 53d123e38b..47566bdcd5 100644 --- a/packages/server/src/integrations/base/sqlTable.ts +++ b/packages/server/src/integrations/base/sqlTable.ts @@ -36,7 +36,7 @@ function generateSchema( case FieldTypes.STRING: case FieldTypes.OPTIONS: case FieldTypes.LONGFORM: - schema.string(key) + schema.text(key) break case FieldTypes.NUMBER: // if meta is specified then this is a junction table entry