i am building an app with Laravel, and i have users which also have a profile. I am unsure as the best way to go about setting up the database for the user attributes for example
user_ud | name | gender | haircolor
1 josh 1 3
as you can see from this quick example this is what my table for profiles currently looks like, as the vales are filled in from select boxes.
my question is. is the bes way to then map these vales to a meaningfull value like this.
id | gender
1 male
2 female
id | hairColor
1 blonde
2 brown
3 black
and so on creating a new table for each attribute type? or is there a better way of doing this?