Skip to content

Fails on PostGIS enabled databases because geography isnt a known type of DBAL #12

@securit

Description

@securit

Any chance you can add geography and geometry as valid types? There is a good discussion on this here https://laracasts.com/discuss/channels/general-discussion/doctrinedbal-how-to-add-data-types-when-using-xethronmigrations-generator

Doctrine\DBAL\Exception

Unknown database type geography requested, Doctrine\DBAL\Platforms\PostgreSQL100Platform may not support it.

at vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php:454
450▕
451▕ $dbType = strtolower($dbType);
452▕
453▕ if (! isset($this->doctrineTypeMapping[$dbType])) {
➜ 454▕ throw new Exception(
455▕ 'Unknown database type ' . $dbType . ' requested, ' . static::class . ' may not support it.'
456▕ );
457▕ }
458▕

  +28 vendor frames

29 artisan:35
Illuminate\Foundation\Console\Kernel::handle()

laravel on  Eight [?] is 📦 v1.9.4 via ⬢ v15.8.0 via 🐘 v8.0.3 on 🐳 v20.10.5 took 4s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions