Erro ao gerar seeder
[Finalizado Pelo Aluno]

Segue erro após dar o comando, o mesmo avisa que table de produtos ja existe...
php artisan migrate:refresh --seed
Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'products' already exists (SQL: create table `products` (`id` bigint unsigned not null auto_increment primary
key, `category_id` int unsigned not null, `name` varchar(100) not null, `description` text null, `image` varchar(191) null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
Olá, Ademir!
Tudo bem?
Isso pode ser porque antes de rodar o comando alguma configuração no arquivo de migration gerou o erro, e agora mesmo depois de consertar e rodar novamente ainda gera problemas;
Qual a recomendação?
Deletar as tabelas manualmente, ou rodar este comando:
php artisan migrate:fresh

Precisa estar logado para conseguir responder a este ticket!
Clique Aqui Para Entrar!