diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-12-03 15:27:00 -0500 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-12-03 15:27:00 -0500 |
commit | 418813b205b7b6f8c9d21f639d740fd2e1016ab7 (patch) | |
tree | 2b577709db3c3bbdaa4bb2bb5f15126d53b8d59d /synapse/storage/data_stores | |
parent | add changelog (diff) | |
download | synapse-418813b205b7b6f8c9d21f639d740fd2e1016ab7.tar.xz |
apply changes from review
Diffstat (limited to 'synapse/storage/data_stores')
-rw-r--r-- | synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql b/synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql index bee0a5da91..5c5fffcafb 100644 --- a/synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql +++ b/synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql @@ -40,7 +40,8 @@ CREATE TABLE IF NOT EXISTS e2e_cross_signing_signatures ( signature TEXT NOT NULL ); -CREATE INDEX e2e_cross_signing_signatures2_idx ON e2e_cross_signing_signatures(user_id, target_user_id, target_device_id); +-- replaced by the index created in signing_keys_nonunique_signatures.sql +-- CREATE UNIQUE INDEX e2e_cross_signing_signatures_idx ON e2e_cross_signing_signatures(user_id, target_user_id, target_device_id); -- stream of user signature updates CREATE TABLE IF NOT EXISTS user_signature_stream ( |