migrations-generator
migrations-generator copied to clipboard
No mysql spatial support in migration?
In AbstractPlatform.php line 429:
Unknown database type geometry requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.
Similar error: Unknown database type point requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.
i found another thread that seemed to have a solution, From https://github.com/Xethron/migrations-generator/issues/152
which stated: For Laravel 5.5 just use:
composer require grimzy/laravel-mysql-spatial:^1.0
composer require grimzy/laravel-mysql-spatial
worked for me (using Laravel 5.8)
I think this needs to be mentioned in the README.