oscarafdev/migrations-generator

Unknown database type point requested

Closed this issue · 1 comments

Anisi commented
Doctrine\DBAL\DBALException  : Unknown database type point requested, Doctrine\DBAL\Platforms\MariaDb1027Platform may not support it.

In your migration, add the following function:

public function __construct() { \Illuminate\Support\Facades\DB::getDoctrineSchemaManager() ->getDatabasePlatform()->registerDoctrineTypeMapping('point', 'string'); }