Answer the question
In order to leave comments, you need to log in
Well, how are we going to store chats now?
The question has been chewed many times, but time makes its own adjustments. Under the new legislation, if user-generated-content is used on a resource, the owner is required to store it for six months. This is a given and is not discussed.
The server is so-so, weak. Non-commercial project, it's expensive to show off from your own pocket.
PHP+MySQL engine (in real life the classics always win).
The main InnoDB chat table contains all the rows in the heap:
id // primary
id_channel // приватные или групповые каналы
id_from
id_to // если канал приватный
text
timestamp
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