Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DbDumperFactory.php #1640

Merged
merged 1 commit into from Feb 3, 2023
Merged

Update DbDumperFactory.php #1640

merged 1 commit into from Feb 3, 2023

Conversation

nikosv
Copy link
Contributor

@nikosv nikosv commented Feb 3, 2023

I am adding $dbConfig['connect_via_database'] in setDbName() as the package doesn't work with pgbouncer configuration due to the changes described here: laravel/framework#43542

Summary: Since Laravel 9 in case you are using pgbouncer for pooling you need to add the name of the pool on a separate config variable (connect_via_database) instead of database that was used in earlier versions.

I am adding $dbConfig['connect_via_database'] in setDbName() as the package doesn't work with pgbouncer the same way it was described here:
laravel/framework#43542
@freekmurze freekmurze merged commit f073c8c into spatie:main Feb 3, 2023
@freekmurze
Copy link
Member

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants