summary refs log tree commit diff
path: root/synapse/storage/data_stores
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-12-03 15:27:00 -0500
committerHubert Chathi <hubert@uhoreg.ca>2019-12-03 15:27:00 -0500
commit418813b205b7b6f8c9d21f639d740fd2e1016ab7 (patch)
tree2b577709db3c3bbdaa4bb2bb5f15126d53b8d59d /synapse/storage/data_stores
parentadd changelog (diff)
downloadsynapse-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.sql3
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 (