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
This happens when you have doctrine/dbal package installed.
To fix this, you may call Schema::useNativeSchemaOperationsIfPossible() method within the boot method of your App\Providers\AppServiceProvider class. check #45258
Laravel Version
10.46
PHP Version
8.2
Database Driver & Version
SQLite
Description
In a migration, I have the following code that worked well a few days ago :
Now, I have this message when I run the tests : "SQLite doesn't support multiple calls to dropColumn / renameColumn in a single modification."
The solution I found is this :
But it seems hacky and looks like a regression to me. I updated to 10.46 and I was on 10.40 before.
Steps To Reproduce
Use multiple dropColumns in a migration file, and run unit tests using SQLite DB.
The text was updated successfully, but these errors were encountered: