diff --git a/src/Illuminate/Database/Schema/Grammars/ChangeColumn.php b/src/Illuminate/Database/Schema/Grammars/ChangeColumn.php index d449dfc71ff0..8fc3b8c8a2c3 100644 --- a/src/Illuminate/Database/Schema/Grammars/ChangeColumn.php +++ b/src/Illuminate/Database/Schema/Grammars/ChangeColumn.php @@ -121,7 +121,7 @@ protected static function getDoctrineColumnChangeOptions(Fluent $fluent) $options['length'] = static::calculateDoctrineTextLength($fluent['type']); } - if ($fluent['type'] === 'json') { + if (in_array($fluent['type'], ['json', 'binary'])) { $options['customSchemaOptions'] = [ 'collation' => '', ];