Povilas Brilius

Coding social network tags section — it’s traditional RDBMS like MySQL table via replacement — imagine, user roles, where a role can be assigned to multiple users at once — it’s usually referred to UserRoles table entries, structurally — id, user_id, role_id.

Photo by Philippa Rose-Tite on Unsplash

However, in this case note can have tags Matthew MacDonald Vickie Li. That’s why I organize it in the following usual way: