diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-11-18 17:47:41 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-11-18 17:47:41 +0000 |
commit | 1d9b29190bac5905ac63ac428030c3897a9663a4 (patch) | |
tree | a40a028200b43f34bcccc863ec4c9b90ce5b9a8a | |
parent | Replace UPDATE with UPSERT on device_max_stream_id table (#6363) (diff) | |
download | synapse-1d9b29190bac5905ac63ac428030c3897a9663a4.tar.xz |
Switch INSERT + UPDATE to UPSERT
-rw-r--r-- | synapse/storage/data_stores/main/deviceinbox.py | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/synapse/storage/data_stores/main/deviceinbox.py b/synapse/storage/data_stores/main/deviceinbox.py |