{-# LANGUAGE QuasiQuotes #-}

module Simplex.Chat.Migrations.M20221210_idxs where

import Database.SQLite.Simple (Query)
import Database.SQLite.Simple.QQ (sql)

m20221210_idxs :: Query
m20221210_idxs =
  [sql|
CREATE INDEX idx_messages_connection_id ON messages(connection_id);

CREATE INDEX idx_chat_items_group_member_id ON chat_items(group_member_id);

CREATE INDEX idx_chat_items_contact_id ON chat_items(contact_id);
|]
