it is alphabetical so, lesson_user
Thanks elite123 for pointing me over there.
Strange I've been searching every in the docs and I still miss that.
"Three database tables are needed for this relationship: users, roles, and role_user. The role_user table is derived from the alphabetical order of the related model names, and should have user_id and role_id columns."
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community