diff options
author | Matthew Hodgson <matthew@matrix.org> | 2017-12-31 14:35:25 +0000 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-08-12 19:14:31 -0400 |
commit | 15d513f16fd272fb3763a42f05a8f296d4e1abf0 (patch) | |
tree | bd45a37deb9a61c2fdb2e9d8449ebd04335eafe5 /synapse/storage/schema | |
parent | first cut at a UT (diff) | |
download | synapse-15d513f16fd272fb3763a42f05a8f296d4e1abf0.tar.xz |
fix idiocies and so make tests pass
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/46/e2e_room_keys.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/46/e2e_room_keys.sql b/synapse/storage/schema/delta/46/e2e_room_keys.sql index 16499ac34c..4531fd56ee 100644 --- a/synapse/storage/schema/delta/46/e2e_room_keys.sql +++ b/synapse/storage/schema/delta/46/e2e_room_keys.sql @@ -35,4 +35,4 @@ CREATE TABLE e2e_room_keys_versions ( auth_data TEXT NOT NULL ); -CREATE UNIQUE INDEX e2e_room_keys_versions_user_idx ON e2e_room_keys_versions(user_id); +CREATE UNIQUE INDEX e2e_room_keys_versions_idx ON e2e_room_keys_versions(user_id, version); |