I just installed Laravel on my pc to learn a little bit. But I'm having a little problem using migrate
.
Whenever I try to use migrate
, it has the following error:
[Illuminate \ Database \ QueryException]
SQLSTATE [42S01]: Base table or view already exists: 1050 Table 'clients' already exists (SQL: create tableclients
(id
int unsigned not null auto_increment primary key,name
varchar (255) not null,responsible
varchar (255) not null,phone
text not null l,address
timestamp null,obs
timestamp null) default character set utf8mb4 collate utf8mb4_unicode_ ci)
It does not generate the new created_at
I created, but when I change the date from a updated_at
to an earlier date, it works.