diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-09 14:04:03 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-09 14:04:03 +0100 |
commit | bf0d59ed30b63c6a355e7b3f2a74a26181fd6893 (patch) | |
tree | 06858bd418fdc637ad669df6144c2ab7faee853e /synapse/storage/schema/delta/21 | |
parent | Only remove one time keys when new one time keys are added (diff) | |
download | synapse-bf0d59ed30b63c6a355e7b3f2a74a26181fd6893.tar.xz |
Don't bother with a timeout for one time keys on the server.
Diffstat (limited to 'synapse/storage/schema/delta/21')
-rw-r--r-- | synapse/storage/schema/delta/21/end_to_end_keys.sql | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/21/end_to_end_keys.sql b/synapse/storage/schema/delta/21/end_to_end_keys.sql index 107d2e67c2..95e27eb7ea 100644 --- a/synapse/storage/schema/delta/21/end_to_end_keys.sql +++ b/synapse/storage/schema/delta/21/end_to_end_keys.sql @@ -29,7 +29,6 @@ CREATE TABLE IF NOT EXISTS e2e_one_time_keys_json ( algorithm TEXT NOT NULL, -- Which algorithm this one-time key is for. key_id TEXT NOT NULL, -- An id for suppressing duplicate uploads. ts_added_ms BIGINT NOT NULL, -- When this key was uploaded. - valid_until_ms BIGINT NOT NULL, -- When this key is valid until. key_json TEXT NOT NULL, -- The key as a JSON blob. CONSTRAINT uniqueness UNIQUE (user_id, device_id, algorithm, key_id) ); |