I want to track keywords and have a score system in my database for each user.
I’ll have a user table and their website table.
user table will have basics of user id, email, password, etc
website table will have id, user_id, keywords, and score.
So I will keep all their keywords (max 5 keywords) in a website table implementing the MySQLicious tagging solution.
The question I have is, I will be constantly updating the score so should I also keep the “score” field in website table or create a brand new table and link all the scores based on website’s id field??
edit: also should I keep the keywords in the same table or separate them?
If all you have is a score, it is best to add it to the website table. In most cases, making a separate table complicates things while offering little advantage. However, there are some cases in which you may want to make a separate table: