Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Conversation

vlktomas
Copy link
Contributor

This remove unnecessary connection to database when package is registered. I modified createConnection to work the same as in upstream ConnectionFactory.php and I removed registering of Doctrine custom types, because it caused similar issue to laravel/framework#28282.

Is registering of Doctrine custom types really needed? For me it works without any issue.

@mstaack mstaack merged commit 9e3fbcb into mstaack:master Sep 1, 2020
@v1r0x
Copy link
Contributor

v1r0x commented Sep 18, 2020

Is registering of Doctrine custom types really needed? For me it works without any issue.

Today I wanted to work on an older PR of one of my projects. My migrations worked fine a couple of months ago. When I now try to run them, they throw an error:

 Doctrine\DBAL\DBALException 

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

With version 5.0 it works fine. 5.1 leads to that error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants