migrations-generator icon indicating copy to clipboard operation
migrations-generator copied to clipboard

No mysql spatial support in migration?

Open hanc2006 opened this issue 7 years ago • 3 comments

In AbstractPlatform.php line 429:

Unknown database type geometry requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.

hanc2006 avatar Dec 25 '17 05:12 hanc2006

Similar error: Unknown database type point requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.

ahren-condos-ca avatar Jun 05 '18 19:06 ahren-condos-ca

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

ahren-condos-ca avatar Jun 05 '18 19:06 ahren-condos-ca

composer require grimzy/laravel-mysql-spatial worked for me (using Laravel 5.8)

I think this needs to be mentioned in the README.

dportalesr avatar Oct 06 '19 01:10 dportalesr