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

[5.5] Pgsql specify schema #22365

Merged
merged 4 commits into from
Dec 8, 2017
Merged

[5.5] Pgsql specify schema #22365

merged 4 commits into from
Dec 8, 2017

Conversation

mstone121
Copy link
Contributor

@mstone121 mstone121 commented Dec 8, 2017

If the pgsql driver is configured with an array of schema, the hasTable and getColumnListing functions of the Postgres builder default to the first schema. The reasons why are here: #15535.

Unfortunately, this is not ideal when schema represent different functionality, rather than tenants with duplicate functionality.

This PR addresses this issue by allowing a schema to be specified along with the table.

See also: #19553.

@taylorotwell taylorotwell merged commit 1b162ff into laravel:5.5 Dec 8, 2017
@GrahamCampbell GrahamCampbell changed the title Pgsql specify schema [5.5] Pgsql specify schema Dec 8, 2017
@mstone121 mstone121 deleted the pgsql-specify-schema branch December 8, 2017 23:21
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.

2 participants