You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I decided to add laravel 12 support to my package, but now the prefix ONLY for MySQL/MariaDB builders is added to the database name. On postgres, sqlite everything is ok.
Describe the bug
Methods like these use wrapArray, which adds a prefix to the string.
- drop table `testswallet`.`testscache`,`testswallet`.`testscache_locks`,`testswallet`.`testsitems`,`testswallet`.`testsmanagers`,`testswallet`.`testsmigrations`,`testswallet`.`teststransaction`,`testswallet`.`teststransfer`,`testswallet`.`testsusers`,`testswallet`.`testswallet`)+ drop table `wallet`.`testscache`,`wallet`.`testscache_locks`,`wallet`.`testsitems`,`wallet`.`testsmanagers`,`wallet`.`testsmigrations`,`wallet`.`teststransaction`,`wallet`.`teststransfer`,`wallet`.`testsusers`,`wallet`.`testswallet`)
Laravel Version
12.0.1
PHP Version
any
Database Driver & Version
MySQL/MariaDB
Description
Hello.
I decided to add laravel 12 support to my package, but now the prefix ONLY for MySQL/MariaDB builders is added to the database name. On postgres, sqlite everything is ok.
Describe the bug
Methods like these use wrapArray, which adds a prefix to the string.
When I replaced the code with this one, the problem went away immediately.
Expected behavior
postgres: https://github.com/bavix/laravel-wallet/actions/runs/13506555515/job/37870925893
mariadb: https://github.com/bavix/laravel-wallet/actions/runs/13506555515/job/37870935563
mysql: https://github.com/bavix/laravel-wallet/actions/runs/13506555515/job/37870930173
sqlite: https://github.com/bavix/laravel-wallet/actions/runs/13506555515/job/37870921408
The problem appeared here: #54487
Steps To Reproduce
The text was updated successfully, but these errors were encountered: