laravel-test-factory-helper
laravel-test-factory-helper copied to clipboard
Unknown database type json requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.
I am using Laravel 5.3 and MySQL 5.7 with JSON column created by $table->json('column');
Such columns are not recognized by factory generator. I suppose this is because Doctrine still doesn't support it either.
JSON columns are casted to an array in a model classes, may be we could generate in this case a json_encode(array of integeres)?
@Mevrael, do you know if this is still an issue? Looking to clean up these older ones.