Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
418813b2
Commit
418813b2
authored
5 years ago
by
Hubert Chathi
Browse files
Options
Downloads
Patches
Plain Diff
apply changes from review
parent
e57567f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/6451.bugfix
+1
-1
1 addition, 1 deletion
changelog.d/6451.bugfix
synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql
+2
-1
2 additions, 1 deletion
...storage/data_stores/main/schema/delta/56/signing_keys.sql
with
3 additions
and
2 deletions
changelog.d/6451.bugfix
+
1
−
1
View file @
418813b2
Change the index on the `e2e_
cross
_
signing
_
signatures
` table to be non-unique
.
Fix uploading multiple
cross
signing
signatures
for the same user
.
This diff is collapsed.
Click to expand it.
synapse/storage/data_stores/main/schema/delta/56/signing_keys.sql
+
2
−
1
View file @
418813b2
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment