summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/schema/delta/46/user_dir_typos.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/schema/delta/46/user_dir_typos.sql b/synapse/storage/schema/delta/46/user_dir_typos.sql
index 47b9738e65..83ac0f2cef 100644
--- a/synapse/storage/schema/delta/46/user_dir_typos.sql
+++ b/synapse/storage/schema/delta/46/user_dir_typos.sql
@@ -18,5 +18,5 @@ ALTER TABLE users_in_pubic_room RENAME TO users_in_public_rooms;
 
 DROP INDEX users_in_pubic_room_room_idx;
 DROP INDEX users_in_pubic_room_user_idx;
-CREATE INDEX users_in_pubic_room_room_idx ON users_in_public_rooms(room_id);
-CREATE UNIQUE INDEX users_in_pubic_room_user_idx ON users_in_public_rooms(user_id);
+CREATE INDEX users_in_public_rooms_room_idx ON users_in_public_rooms(room_id);
+CREATE UNIQUE INDEX users_in_public_rooms_user_idx ON users_in_public_rooms(user_id);