Made even more changes the UI and added new Routes for searching a user, requesting consent for messaging and others. Now just need to make the SSE work.
5 lines
268 B
SQL
5 lines
268 B
SQL
-- Indexes
|
|
CREATE INDEX idx_users_suuid ON users(suuid);
|
|
CREATE INDEX idx_users_indexable ON users(indexable) WHERE indexable = true;
|
|
CREATE INDEX idx_thread_participants_user ON thread_participants(user_uuid);
|
|
CREATE INDEX idx_messages_thread ON messages(thread_id);
|