Home>

I need a list of friends, I've been racking my brains for the second day how to implement it. I know that it is possible to implement a one-to-many relationship, but I thought about one approach, which I think will be much easier in the development and speed of work, but I know that in terms of organizing the database, this approach is a curve. I need a dumb sample of accepted and unaccepted friends. Why don't I just create 2 columns with json strings of accepted and not accepted friends in the user table?

Please clarify your specific problem or provide more detailed information on what exactly you need. As it stands, it is difficult to understand exactly what you are asking.

Дух сообщества2021-11-17 02:48:11

Normal forms are not for the programmer to get fucked up. They are for business. Having invented the bicycle, you will certainly come to the field with a rake.

Akina2021-11-17 02:48:11