Skip to content

Commit

Permalink
Update DB2SchemaGrammar.php
Browse files Browse the repository at this point in the history
Update text col type to use a comparable sized clob.
  • Loading branch information
Bennett Black committed Nov 8, 2022
1 parent 2863980 commit f872d8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Schema/DB2SchemaGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
}

/**
Expand Down

0 comments on commit f872d8e

Please sign in to comment.