0
I just installed Laravel on my pc to learn a little bit. But I’m having a little problem using the migrate.
Every time I try to use the migrate, it presents the following error:
[Illuminate Database Queryexception]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'clients' already exists (SQL: create tableclients(idint unsigned not null auto_increment Primary key,namevarchar(255) not null,responsiblevarchar(255) not null,phonevarchar(255) not null,addresstext not null,obstext not nul l,created_attimestamp null,updated_attimestamp null) default Character set utf8mb4 collate utf8mb4_unicode_ci)
He ends up not generating the new migrations which I created, however, when I change the date of a migration for an earlier date, it works.

The table
clientsalready exists, so it cannot run the Migration to create the tableclients, delete the table of your bank that has worked normally.– RFL
Have to see what you did! Type maybe table names that already exist, because
clientsmust be you who created? You have by chance changed some things in usmigratethat already comes in the Laravel?– novic
I didn’t change anything. The table exists because I changed the date and migrate worked. But before I changed the date, it just didn’t work. It was like he just counted 'users'
– Danilo Rodrigues
In Laravel if there is an error in the table to be created the migrate can’t give a rollback delete the database and create again and run php Artisan migrate. If you have any error it will show you which file is the error of your migration.
– Evert