apply changes from review

This commit is contained in:
Hubert Chathi 2019-12-03 15:27:00 -05:00
parent e57567f994
commit 418813b205
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
Change the index on the `e2e_cross_signing_signatures` table to be non-unique.
Fix uploading multiple cross signing signatures for the same user.

View File

@ -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 (