Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

deepoccean's avatar

How to Solve This Error ???

SQLSTATE[HY000]: General error: 1 no such table: user (Connection: sqlite, SQL: select count(*) as aggregate from "user" where "email" =[email protected] )

0 likes
2 replies
sm3rter's avatar

You can run the following command:

php artisan migrate --seed

This will migrate your database tables and then populate them with the data specified in the seeders.

Please or to participate in this conversation.