Files
mtusi2026lab2/migrations/006_messages_index.sql
T
Queenfish 6bfbcf74fc
Skeleton contracts / contracts (pull_request) Failing after 37s
Мессенджер с Postgres, Redis, Valkey
2026-10-08 13:21:48 +03:00

2 lines
94 B
SQL

CREATE INDEX IF NOT EXISTS idx_messages_chat_created
ON messages(chat_id, created_at, id);