summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-23 15:38:56 +0000
committerErik Johnston <erik@matrix.org>2015-03-23 15:38:56 +0000
commit6e7131f02f33695b6423db9a377f130ffebbdb67 (patch)
treef869beee97728bb359b3d884c6224986fc18c6c8 /synapse/storage/keys.py
parentSanitize RoomMemberStore (diff)
downloadsynapse-6e7131f02f33695b6423db9a377f130ffebbdb67.tar.xz
Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable.
Diffstat (limited to 'synapse/storage/keys.py')
-rw-r--r--synapse/storage/keys.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/keys.py b/synapse/storage/keys.py
index 09d1e63657..25fef79434 100644
--- a/synapse/storage/keys.py
+++ b/synapse/storage/keys.py
@@ -66,7 +66,6 @@ class KeyStore(SQLBaseStore):
                 "ts_added_ms": time_now_ms,
                 "tls_certificate": buffer(tls_certificate_bytes),
             },
-            or_ignore=True,
         )
 
     @defer.inlineCallbacks
@@ -116,5 +115,4 @@ class KeyStore(SQLBaseStore):
                 "ts_added_ms": time_now_ms,
                 "verify_key": buffer(verify_key.encode()),
             },
-            or_ignore=True,
         )