summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-21 18:09:48 +0100
committerErik Johnston <erik@matrix.org>2016-04-21 18:14:18 +0100
commitae571810f2283c1825da62af0e931a0e40f74168 (patch)
treeb3d5966e33a2ba2aa8fc8aae636d364032660e09 /synapse/storage/schema/delta
parentFix query (diff)
downloadsynapse-ae571810f2283c1825da62af0e931a0e40f74168.tar.xz
Order NULLs first
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/31/search_update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/schema/delta/31/search_update.py b/synapse/storage/schema/delta/31/search_update.py
index 2c15edd1a4..470ae0c005 100644
--- a/synapse/storage/schema/delta/31/search_update.py
+++ b/synapse/storage/schema/delta/31/search_update.py
@@ -22,8 +22,8 @@ logger = logging.getLogger(__name__)
 
 
 ALTER_TABLE = """
-ALTER TABLE event_search ADD COLUMN origin_server_ts BIGINT DEFAULT 0;
-ALTER TABLE event_search ADD COLUMN stream_ordering BIGINT DEFAULT 0;
+ALTER TABLE event_search ADD COLUMN origin_server_ts BIGINT;
+ALTER TABLE event_search ADD COLUMN stream_ordering BIGINT;
 """