laravel-test-factory-helper icon indicating copy to clipboard operation
laravel-test-factory-helper copied to clipboard

Unknown database type json requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.

Open Mevrael opened this issue 8 years ago • 1 comments

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 avatar Jan 13 '17 10:01 Mevrael

@Mevrael, do you know if this is still an issue? Looking to clean up these older ones.

jasonmccreary avatar Feb 13 '20 02:02 jasonmccreary