A four digit year could not be found data missing in laravel
Answers
Answered by
0
found the cause, but don't know how to fix it.
When I call the factory, I call it like that:
factory(User::class)->create(['role_id',2]);
If I call it like that:
factory(User::class)->create();
I get no more error. But I really need to seed different kind of users...
Any idea???
Similar questions