bitfumes / laravel-multiauth

Multi Auth and admin auth in Laravel Project
MIT License
470 stars 105 forks source link

Error In migration #138

Closed katesaikishore closed 3 years ago

katesaikishore commented 3 years ago

Illuminate\Database\QueryException : SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table permission_role add constraint permission_role_role_id_foreign foreign key (role_id) references roles (id) on delete cascade)

Using on: Laravel 6 Sequel Pro

And getting this error along

Screenshot 2020-11-27 at 9 55 35 PM

http://localhost:8000/admin/home => Gives me: ERROR 404

katesaikishore commented 3 years ago

Dropped all tables and made fresh migration worked