status-go/protocol/migrations/sqlite/1680114896_add_index_on_album_id.up.sql
Boris Melnik 696e061861
fix(unread_count): Skip extra count of new messages for album of images (#3345)
* fix(unread_count): Skip extra count of new messages for album of images

* fix(unread_count): Update migration files
2023-03-31 12:15:06 +03:00

1 line
83 B
SQL

CREATE INDEX IF NOT EXISTS idx_album_id ON user_messages (local_chat_id, album_id);