A user’s Account Settings can be quite lengthy depending on how detailed you might want it to get (e.g. Receive newsletters TINYINT(1), allow search TINYINT(1), etc.). I want to know what the best way of doing this is since right now all these settings are placed in my User table which already has around 30 columns and might grow soon.
A user’s Account Settings can be quite lengthy depending on how detailed you might
Share
You can consider using
setdata type :- http://dev.mysql.com/doc/refman/5.0/en/set.htmlwhen doing query, it will be :-
alternatively, you can create a profile table to normalize each profile to be one record
search :-