When I migrate I get this error:
QueryException: Base table or view already exists: 1050 Table 'users'....
I have the model Post but when I am migrate the database it show this message .
When I migrate I get this error:
QueryException: Base table or view already exists: 1050 Table 'users'....
I have the model Post but when I am migrate the database it show this message .
your migration stopped at some point, wich resulted in a created table in database and migration not marked as already completed.
Remove the table manually then run php artisan migrate
If it is a new installation: just run php artisan migrate:fresh
(this will delete all the tables in the database)
The error message told you that user table already exists. You are again migrating the same table. Just run php artisan migrate:fresh
. It will create all table from scratch.