Skip to content

PGSQL - getDoctrineSchemaManager calls undefined function in connection.php #46238

@7Jhanson

Description

@7Jhanson
  • Laravel Version: 10.0.3
  • PHP Version: 8.1
  • Database Driver & Version: Pgsql 12.3.3

Description:

I'm trying to use the Schema::getConnection()->getDoctrineSchemaManager() function but I'm getting this error:

image

In Connection.php, ligne 1112 getDoctrineSchemaManager() returns $connection->createSchemaManager() which DOES NOT EXIST
I tried resolving myself but I had some trouble.

Steps To Reproduce:

  • Use a PGSQL database connection
  • try using Schema::getConnection()->getDoctrineSchemaManager()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions