mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-31 08:43:50 -05:00
Fix up indices for users_who_share_rooms
This commit is contained in:
parent
ff13c5e7af
commit
8abdd7b553
@ -25,7 +25,8 @@ CREATE TABLE users_who_share_rooms (
|
||||
|
||||
|
||||
CREATE UNIQUE INDEX users_who_share_rooms_u_idx ON users_who_share_rooms(user_id, other_user_id);
|
||||
CREATE INDEX users_who_share_rooms_r_idx ON users_who_share_rooms(room_id, user_id);
|
||||
CREATE INDEX users_who_share_rooms_r_idx ON users_who_share_rooms(room_id);
|
||||
CREATE INDEX users_who_share_rooms_o_idx ON users_who_share_rooms(other_user_id);
|
||||
|
||||
|
||||
-- Make sure that we popualte the table initially
|
||||
|
Loading…
x
Reference in New Issue
Block a user