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

[7.x] SqlServer: compileColumnListing for tables with schema #34076

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

AlexanderDatapas
Copy link
Contributor

The compileColumnListing method for SqlServer's schema grammar did not work for tables in a non-default database schema. It also listed too many columns for tables that appear in more than one schema.

Using SQL Server's object_id-function, in stead of obj.name, fixes these issues.

The compileColumnListing method did not work for tables in a non-default schema. It also listed too many columns for tables that appear in more than one schema.

Using SQL Server's object_id-function, in stead of obj.name, fixes this issue.
@AlexanderDatapas AlexanderDatapas changed the title SqlServer: compileColumnListing for tables with schema [7.x] SqlServer: compileColumnListing for tables with schema Aug 31, 2020
@driesvints
Copy link
Member

Ping @staudenmeir

@GrahamCampbell
Copy link
Member

Does this affect 6.x too?

@taylorotwell taylorotwell merged commit d6b771e into laravel:7.x Sep 4, 2020
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.

4 participants