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

[12.x] Fix dropping schema-qualified prefixed tables #54834

Merged

Conversation

hafezdivandari
Copy link
Contributor

@hafezdivandari hafezdivandari commented Feb 27, 2025

Fixes #54817

Using wrapArray causes schema-qualified tables names to be prefixed wrongly. For example, given schema.table becomes prefix_schema.table mistakenly. This PR fixes this issue and adds tests.

@hafezdivandari hafezdivandari changed the title [12.x] Fix dropping prefixed tables [12.x] Fix dropping schema-qualified prefixed tables Feb 27, 2025
@taylorotwell taylorotwell merged commit 260855c into laravel:12.x Feb 27, 2025
39 checks passed
@hafezdivandari hafezdivandari deleted the 12.x-fix-dropping-prefixed-tables branch February 27, 2025 22:29
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.

[12.x] Adding a prefix to the database name in MySQL/MariaDB
2 participants