Personal speech,
I'm working on an app that consists of people referencing, just like so-called multilevel marketing.
The general idea is to:
Person A indicates person B (LEVEL 1) if person B indicates person C (person N1 of person B and person N2 of person A) and so on up to N5.
How can I plan this type of table?
NOTE: It will need to be in a postgresql DBMS, as it will be an addition to an existing system
I'm open to any suggestions