Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Laravel - Erro ao rodar php artisan migrate

Olá boa noite, Estou fazendo o curso de laravel e na parte de banco de dados quando vou dar o comando php artisan migrate tomo o seguinte erro:

Illuminate\Database\QueryException

Database (C:\xampp\htdocs\controle-series\database\database.sqlite) does not exist. (SQL: PR AGMA foreign_keys = ON;)

at C:\xampp\htdocs\controle-series\vendor\laravel\framework\src\Illuminate\Database\Connecti on.php:692 688▕ // If an exception occurs when attempting to run a query, we'll format the er ror 689▕ // message to include the bindings with SQL, which will make this exception a 690▕ // lot more helpful to the developer instead of just the database's errors. 691▕ catch (Exception $e) { ➜ 692▕ throw new QueryException( 693▕ $query, $this->prepareBindings($bindings), $e 694▕ ); 695▕ } 696▕

1 C:\xampp\htdocs\controle-series\vendor\laravel\framework\src\Illuminate\Database\Connect ors\SQLiteConnector.php:34 InvalidArgumentException::("Database (C:\xampp\htdocs\controle-series\database\database. sqlite) does not exist.")

2 C:\xampp\htdocs\controle-series\vendor\laravel\framework\src\Illuminate\Database\Connect ors\ConnectionFactory.php:222 Illuminate\Database\Connectors\SQLiteConnector::connect(["sqlite", "C:\xampp\htdocs\cont role-series\database\database.sqlite", "", "sqlite"])

Alguém poderia me ajudar ?

1 resposta
solução!

Problema resolvido.