1

I have a problem with the migration command laravel .

I have added entities with foreign Llaver and now he throws me an error .

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

Before performing an update or something but did not throw errors

  • http://stackoverflow.com/questions/26077458/laravel-migration-table-already-exists-but-i-want-to-add-new-not-the-older – ern Feb 02 '16 at 02:36
  • Possible duplicate of [Laravel 5.5 Error Base table or view already exists: 1050 Table 'users' already exists](https://stackoverflow.com/questions/46129270/laravel-5-5-error-base-table-or-view-already-exists-1050-table-users-already) – Nitesh Kumar Niranjan Sep 15 '17 at 13:33

1 Answers1

0

first delete the tables
then run composer update
then php artisan migrate

Slavco
  • 1