Skip to content

Incorrect behaviour "SQLite doesn't support multiple calls to dropColumn / renameColumn in a single modification." #50308

Answered by hafezdivandari
Cryborg asked this question in Q&A
Discussion options

You must be logged in to vote

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

PS: This won't happen on Laravel 11.x

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Cryborg
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Cryborg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #50303 on February 29, 2024 00:17.