On the second version of the database structure and the library is different. how to make an update without breaking anything?
Asked
Active
Viewed 242 times
1 Answers
1
There are Upgrade instructions in the documentation:
https://github.com/spatie/laravel-permission#upgrading

Jerodev
- 32,252
- 11
- 87
- 108
-
What part of it isn't working? Please be more specific. – Jerodev Feb 11 '19 at 17:51
-
d'not working migration: // Drop V1 foreign key constraints – Coder Feb 12 '19 at 07:43
-
SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'role_has_permissions_permission_id_foreign'; check that column/key exists (SQL: alter table `role_has_permissions_v1` drop foreign key `role_has_permissions_pe rmission_id_foreign`) – Coder Feb 12 '19 at 07:44