Well, as other mentioned, this is a very poor database schema design. I don’t recommend to follow advice in your article. Please fix your schema as other people are recommending.
Also under heavy load, calculating the number of likes using the “select count()….” is not recommended at all.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well, as other mentioned, this is a very poor database schema design. I don’t recommend to follow advice in your article. Please fix your schema as other people are recommending.
Also under heavy load, calculating the number of likes using the “select count()….” is not recommended at all.