summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-06-11 18:12:12 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-06-11 18:12:12 +0100
commit34fd1f7ab52d4cccdd650ebda3962a44f7f2db23 (patch)
tree9184b9867bb95460d9c303a480572aba6ac3100d /synapse
parentLint (diff)
downloadsynapse-34fd1f7ab52d4cccdd650ebda3962a44f7f2db23.tar.xz
Fix schema update
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/data_stores/main/schema/delta/59/00push_summary_unread_count.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/schema/delta/59/00push_summary_unread_count.sql b/synapse/storage/data_stores/main/schema/delta/59/00push_summary_unread_count.sql
index 2985160201..560858d88b 100644
--- a/synapse/storage/data_stores/main/schema/delta/59/00push_summary_unread_count.sql
+++ b/synapse/storage/data_stores/main/schema/delta/59/00push_summary_unread_count.sql
@@ -15,4 +15,4 @@
 
 -- Store the number of unread messages, i.e. messages that triggered either a notify
 -- action or a mark_unread one.
-ALTER TABLE event_push_summary ADD COLUMN unread_count BIGINT NOT NULL;
+ALTER TABLE event_push_summary ADD COLUMN unread_count BIGINT NOT NULL DEFAULT 0;