Skip to content

Conversation

@antonkomarev
Copy link
Contributor

@antonkomarev antonkomarev commented May 8, 2020

This PR introduces configuration for model connection. It is working the same way as Laravel Telescope Connection Config.

This required when your database with OAuth server is working not on default connection.

Not a breaking change because models use $connection property as a fallback value.

@driesvints
Copy link
Member

@antonkomarev can you rebase? We did a change to the passport config.

@antonkomarev
Copy link
Contributor Author

antonkomarev commented May 8, 2020

Surе, will do it tomorrow.

@antonkomarev
Copy link
Contributor Author

antonkomarev commented May 9, 2020

@driesvints rebase done.

@taylorotwell taylorotwell merged commit 555e02c into laravel:9.x May 11, 2020
@antonkomarev antonkomarev deleted the add-models-database-connection-config branch May 11, 2020 19:00
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.

3 participants