diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-26 11:14:30 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-26 11:14:30 +0000 |
commit | 87538711b6fe26b1c1c708ed67345a91fd64c8fb (patch) | |
tree | c589337204340ff642e42d021a5c2c71182c1f85 /synapse/storage/schema/event_signatures.sql | |
parent | Fix tests. (diff) | |
download | synapse-87538711b6fe26b1c1c708ed67345a91fd64c8fb.tar.xz |
Update schema to support multiple signatures
Diffstat (limited to 'synapse/storage/schema/event_signatures.sql')
-rw-r--r-- | synapse/storage/schema/event_signatures.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/event_signatures.sql b/synapse/storage/schema/event_signatures.sql index 4efa8a3e63..b6b56b47a2 100644 --- a/synapse/storage/schema/event_signatures.sql +++ b/synapse/storage/schema/event_signatures.sql @@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS event_signatures ( signature_name TEXT, key_id TEXT, signature BLOB, - CONSTRAINT uniqueness UNIQUE (event_id, key_id) + CONSTRAINT uniqueness UNIQUE (event_id, signature_name, key_id) ); CREATE INDEX IF NOT EXISTS event_signatures_id ON event_signatures ( |