summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-08 16:01:55 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-08 16:01:55 +0100
commit9d36eb4eab036d9793132892b56c7fad4e585984 (patch)
tree20c351ac9347a027647793142426130a1796d57a /synapse/storage/schema/delta
parentRemove unsigned (diff)
downloadsynapse-9d36eb4eab036d9793132892b56c7fad4e585984.tar.xz
Rename unique constraint
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/18/server_keys_bigger_ints.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql b/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
index d2c70d0aa9..566470ac6f 100644
--- a/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
+++ b/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS new_server_keys_json (
     ts_added_ms BIGINT NOT NULL, -- When the keys were fetched
     ts_valid_until_ms BIGINT NOT NULL, -- When this version of the keys exipires.
     key_json bytea NOT NULL, -- JSON certificate for the remote server.
-    CONSTRAINT uniqueness UNIQUE (server_name, key_id, from_server)
+    CONSTRAINT server_keys_json_uniqueness UNIQUE (server_name, key_id, from_server)
 );
 
 INSERT INTO new_server_keys_json