Skip to content

Method Illuminate\Database\PostgresConnection::getDoctrineSchemaManager does not exist. #258

@zackAJ

Description

@zackAJ

Description

This method doesn't exist in laravel 12 getDoctrineSchemaManager(), it was removed in this PR: laravel/framework#48864

Versions

  • Laravel 12
  • Postgres 17
  • "orangehill/iseed": "^3.1"

Command used

php artisan iseed --database=admin

Iseed.php:426

    public function getAllTableNames()
    {
        // Depending on your Laravel version, you may use the Doctrine schema manager:
        $schema = \DB::connection($this->databaseName)->getDoctrineSchemaManager();
        return $schema->listTableNames();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions