I had an error while executing the command: php artisan migrate.

SQLSTATE [42S01]: Base table or view already exists: 1050 Table 'users' already exists

  • Formulate a question. - kot-da-vinci pm
  • thanks for the tips -

1 answer 1

Need to reset the migration or update, attention, all tables are deleted, data is written in a new way.

php artisan migrate:reset 

or

 php artisan migrate:fresh