entrust
entrust copied to clipboard
ACL Issue
Seeding: RolesTableSeeder Seeding: PermissionsTableSeeder Seeding: RoleUserTableSeeder
Illuminate\Database\QueryException : SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (laravel-project.role_user, CONSTRAINT role_user_user_id_for eign FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE ON UPDATE CASCADE) (SQL: insert into role_user (user_id, role_id) values (1, 1))
This is my full code
https://paste.laravel.io/1f3431cd-9b92-4a6c-ab2d-4809f07761bb#77