Skip to content

Commit

Permalink
Make sure changing a database field to json does not include charset …
Browse files Browse the repository at this point in the history
…(#31343)

This PR will fix an issue very close to #25735 (comment). It will fix pretty much the same error.
  • Loading branch information
lazarews committed Feb 4, 2020
1 parent e627e17 commit 5f4e862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Schema/Grammars/ChangeColumn.php
Expand Up @@ -124,6 +124,7 @@ protected static function getDoctrineColumnChangeOptions(Fluent $fluent)
if (in_array($fluent['type'], ['json', 'binary'])) {
$options['customSchemaOptions'] = [
'collation' => '',
'charset' => '',
];
}

Expand Down

0 comments on commit 5f4e862

Please sign in to comment.