Answer the question
In order to leave comments, you need to log in
How to create a messaging system for three independent user groups?
I'm poking around in a project where there are three user groups - Buyers, Staff, Couriers. It is quite logical that each group should be separate. It's not kosher to create three independent message tables with a bunch of related tables. I came up with the idea of dividing id by digits 1 - ..., 1001 - ..., 10001 -... Now I can’t figure out how to build queries for writing and selecting from tables and whether it is worth making linked tables for all entities or somehow it is possible to dump everything in one message_user? Let me know if anyone has experienced something similar.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question