From f872d8eb5bae8ee2221c340bc2a06b8ed29d8e6c Mon Sep 17 00:00:00 2001 From: Bennett Black Date: Tue, 8 Nov 2022 09:31:32 -0600 Subject: [PATCH] Update DB2SchemaGrammar.php Update text col type to use a comparable sized clob. --- src/Schema/DB2SchemaGrammar.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Schema/DB2SchemaGrammar.php b/src/Schema/DB2SchemaGrammar.php index 139dbe7..ce24092 100644 --- a/src/Schema/DB2SchemaGrammar.php +++ b/src/Schema/DB2SchemaGrammar.php @@ -446,9 +446,7 @@ protected function typeString(Fluent $column) */ protected function typeText(Fluent $column) { - $colLength = ($column->length ? $column->length : 16369); - - return "varchar($colLength)"; + return "clob(64K)"; } /**