Skip to content

[11.x] Add support for specifying schema name on SQL Server #49965

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

Merged

Conversation

hafezdivandari
Copy link
Contributor

@hafezdivandari hafezdivandari commented Feb 3, 2024

Related to #49148. As discussed here, SQL Server supports specifying schema name when accessing table (i.e. schema.table) just like PostgreSQL. This PR adds support for this on Schema::hasTable(), Schema::hasView(), Schema::getColumns(), Schema::getIndexes(), and Schema::getForeignKeys() methods on SQL Server, and Schema::hasView() method on PostgreSQL.

Copy link

github-actions bot commented Feb 3, 2024

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@hafezdivandari hafezdivandari marked this pull request as ready for review February 3, 2024 16:29
@taylorotwell taylorotwell merged commit f17a206 into laravel:master Feb 8, 2024
@taylorotwell
Copy link
Member

taylorotwell commented Feb 8, 2024

Are there any upgrade docs needed for this @hafezdivandari ?

@hafezdivandari hafezdivandari deleted the master-parse-schema-name branch February 8, 2024 15:44
@hafezdivandari
Copy link
Contributor Author

@taylorotwell just sent a PR for it: laravel/docs#9317

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