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
Creating models on a fresh Laravel 11 using code:model and using a SQLite database returns the following error:
php artisan code:models --table=cities
BadMethodCallExceptionMethodIlluminate\Database\SQLiteConnection::getDoctrineConnection does not exist.
at vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:112108▕ */
109▕ publicfunction __call($method, $parameters)
110▕ {
111▕ if (! static::hasMacro($method)) {
➜ 112▕ thrownewBadMethodCallException(sprintf(
113▕ 'Method %s::%s does not exist.', static::class, $method114▕ ));
115▕ }
116▕
i BadMethodCall: Did you mean Illuminate\Database\SQLiteConnection::selectFromWriteConnection() ?
+20 vendor frames
21 artisan:13Illuminate\Foundation\Application::handleCommand()
The text was updated successfully, but these errors were encountered:
Hello,
Creating models on a fresh Laravel 11 using code:model and using a SQLite database returns the following error:
The text was updated successfully, but these errors were encountered: