beyondcode / beyondcode/invoker-community

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

Open
#363 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
76
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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")
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.