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

MSSQL: Fix .hasTable result when using .withSchema #5176

Merged
merged 2 commits into from May 22, 2022

Conversation

ramos-ph
Copy link
Contributor

This PR fixes an issue where hasTable would return false if used on withSchema. This happens only on MSSQL.

I added a new test to ensure the behavior and also cleaned the test file a bit.

Closes #5170

@coveralls
Copy link

coveralls commented May 12, 2022

Coverage Status

Coverage decreased (-0.009%) to 92.273% when pulling fad99d4 on ramos-ph:fix/5170 into e2516cd on knex:master.

@ramos-ph ramos-ph force-pushed the fix/5170 branch 2 times, most recently from 4c54066 to 74a4cba Compare May 12, 2022 17:16
@ramos-ph ramos-ph changed the title MSSQL: Fix withSchema.hasTable MSSQL: Fix .hasTable result when using .withSchema May 12, 2022
@kibertoad kibertoad merged commit e308184 into knex:master May 22, 2022
@ramos-ph ramos-ph deleted the fix/5170 branch May 23, 2022 11:43
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.

hasTable with Schema in mssql
4 participants