Skip to content
Snippets Groups Projects
Commit 418813b2 authored by Hubert Chathi's avatar Hubert Chathi
Browse files

apply changes from review

parent e57567f9
No related branches found
No related tags found
No related merge requests found
Change the index on the `e2e_cross_signing_signatures` table to be non-unique.
Fix uploading multiple cross signing signatures for the same user.
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment