romanbican / roles

Powerful package for handling roles and permissions in Laravel 5
MIT License
1.16k stars 297 forks source link

About 1050 Table 'role_user' already exists #196

Open ccb1900 opened 7 years ago

ccb1900 commented 7 years ago

When I delete my old user migration and create a new user migration . I got an error about"a foreign key constraint fails". I modify my new user migration the same as old user migration,it works well.

that mean Old:

2014_09_24_181007_create_users_table

-> New:

2016_09_24_181007_create_users_table

as you see ,the problem is that a foreign required that your packages migration must after my user migrations.