beyondcode / invoker-community

74 stars 2 forks source link

Error about unknown database type ltree when clicking on models in the menu #363

Open 9x3l6 opened 11 months ago

9x3l6 commented 11 months ago

Clicking on Models give me this error...


OS: darwin Invoker Version: 2.13.2 Laravel Version: 10.25.2 Local project: true PHP Binary: /usr/local/bin/php Route: /project/index?class=App%5CModels%5CVideoImport&time=1696267444042&project=local-kcmZtya25Z1XhdHnLS3rSK

Error:

Doctrine\DBAL\Exception 

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

  at phar:/Applications/Invoker.app/Contents/Resources/invoker_l10.phar/vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:182
    178▕             $this->initializeAllDoctrineTypeMappings();
    179▕         }
    180▕         $dbType = \strtolower($dbType);
    181▕         if (!isset($this->doctrineTypeMapping[$dbType])) {
  ➜ 182▕             throw new \Doctrine\DBAL\Exception('Unknown database type ' . $dbType . ' requested, ' . static::class . ' may not support it.');
    183▕         }
    184▕         return $this->doctrineTypeMapping[$dbType];
    185▕     }
    186▕     public function hasDoctrineTypeMappingFor($dbType)

      +4 vendor frames 

  5   phar:/Applications/Invoker.app/Contents/Resources/invoker_l10.phar/src/Factories/AttributeCollection.php:25
      Doctrine\DBAL\Schema\PostgreSQLSchemaManager::listTableColumns("categories")

  6   phar:/Applications/Invoker.app/Contents/Resources/invoker_l10.phar/src/Factories/AttributeCollection.php:15
      _HumbugBox4ff0af112613\Invoker\Factories\AttributeCollection::getColumns("App\Models\Category")