diff --git a/src/Xethron/MigrationsGenerator/Generators/FieldGenerator.php b/src/Xethron/MigrationsGenerator/Generators/FieldGenerator.php index 0ac0220..cad0cf9 100644 --- a/src/Xethron/MigrationsGenerator/Generators/FieldGenerator.php +++ b/src/Xethron/MigrationsGenerator/Generators/FieldGenerator.php @@ -164,7 +164,7 @@ protected function getFields($columns, IndexGenerator $indexGenerator) */ protected function getLength($length) { - if ($length and $length !== 255) { + if ($length and $length !== 255 and $length !== 65535) { return $length; } }