Hello , i need to build an application for a university, i have multiple users type with different attributes, so i decided to make a user table which have the common attributes then a table for students and a table for staff , the problem is i want to be able to create a student without needing to create a user from the user model, i want to inherit the student model from the user model , how to do it and what is the best practice for something like this
I'm having the same problem and searching for best suitable solution, i'm curious which approach would be best for this in laravel 5.2 but still minding for speed and maintainability/scalability: