Skip to content

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

Merged
taylorotwell merged 1 commit into
laravel:7.xfrom
AlexanderDatapas:patch-1
Sep 4, 2020
Merged

[7.x] SqlServer: compileColumnListing for tables with schema#34076
taylorotwell merged 1 commit into
laravel:7.xfrom
AlexanderDatapas:patch-1

Conversation

@AlexanderDatapas

Copy link
Copy Markdown
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
Copy Markdown
Member

Ping @staudenmeir

@GrahamCampbell

Copy link
Copy Markdown
Collaborator

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