Arkadaşlar merhaba, Oluşturduğum tabloları migrate edemiyorum aldığım hata ekte. Hatada ki ilgili dosya ile ilgili hiç bir işlem yapmadım. Bu dosya yı açtığımda 4 tane hata veriyor dosyayı kapattıgımda hatalar gidiyor. Sıfır kurulum yaptım ilk oluşturduğum tabloları migrate edebildim ancak sonradan oluşturduğum ya da güncellemeye çalıştığım migrate işlemlerinde bu hataı alıyorum. Sorun ne olabilir.
` 1 C:\xampp\htdocs\test\vendor\laravel\framework\src\Illuminate\Database\Connection.php:545
PDOException:🙁"SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'articles' already exists")
2 C:\xampp\htdocs\test\vendor\laravel\framework\src\Illuminate\Database\Connection.php:545
t null, image
varchar(100) not null, content
text not null, slug
varchar(100) not null, created_at
timestamp null, updated_at
timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
at C:\xampp\htdocs\test\vendor\laravel\framework\src\Illuminate\Database\Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e 762▕ ); 763▕ } 764▕ }
`