Мессенджер с Postgres, Redis, Valkey

This commit is contained in:
Queenfish
2026-10-08 13:21:48 +03:00
parent 65003b6119
commit 6bfbcf74fc
41 changed files with 2624 additions and 24 deletions
+2
View File
@@ -0,0 +1,2 @@
CREATE INDEX IF NOT EXISTS idx_messages_chat_created
ON messages(chat_id, created_at, id);