Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vahidtakro's avatar

Different roles, different tables

Hello. I'm building a laravel app which I created different roles through permission package. Meanwhile my users info are stored in "users" table in database.

Now I want to make different features and forms for different roles, for example imagine I have made a role called "Fashion Model" and user with that role need to fill the form about his weight, height, sizes, etc.

My question is, is it better to create more columns in Users table and store his information there? Or is it better to create another table like "fashion_models" and store their data there as long as not all users are with this role.

Please help me to find my answer.

Thanks.

0 likes
1 reply
jlrdw's avatar

The users table can have child related tables, that might be the way to go.

2 likes

Please or to participate in this conversation.