DEV Community

Discussion on: How to implement a basic, role-based, ACL in Laravel

Collapse
 
bdelespierre profile image
Benjamin Delespierre • Edited

Hello Eelco,

foreignId is a method introduced in Laravel 7. For 5.6 you need to use unsignedBigInteger. Here's the complete list laravel.com/docs/5.6/migrations#cr...