Back

Define model based on role


How to define model based on role I have a table where I save users. Users can either be a student, faculty, hod or a combination of this, I make use of roles to achieve this.

I provide specific models for students, faculty and hod with their own queries and so on, but I don't have specific tables for these models.

By:Xtreem Solution

Top laravel web developers

Dedicated PHP Developer

slillo replied 9 months ago

Take a look at this post


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us