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 is another error of the recent database migrations which appears when using sqlite.
BadMethodCallException
SQLite doesn't support multiple calls to dropColumn / renameColumn in a single modification.
at vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php:156
152▕ protected function ensureCommandsAreValid(Connection $connection)
153▕ {
154▕ if ($connection instanceof SQLiteConnection) {
155▕ if ($this->commandsNamed(['dropColumn', 'renameColumn'])->count() > 1) {
➜ 156▕ throw new BadMethodCallException(
157▕ "SQLite doesn't support multiple calls to dropColumn / renameColumn in a single modification."
158▕ );
159▕ }
160▕
+5 vendor frames
6 database/migrations/2022_07_20_011250_add_columns_to_yabs_table.php:29
Illuminate\Support\Facades\Facade::__callStatic()
+38 vendor frames
45 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
The text was updated successfully, but these errors were encountered:
This is another error of the recent database migrations which appears when using sqlite.
The text was updated successfully, but these errors were encountered: