Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 588 forks source link

No mysql spatial support in migration? #156

Open hanc2006 opened 6 years ago

hanc2006 commented 6 years ago

In AbstractPlatform.php line 429:

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

ahren-condos-ca commented 6 years ago

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

ahren-condos-ca commented 6 years ago

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

dportalesr commented 4 years ago

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

I think this needs to be mentioned in the README.