diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-06-11 18:12:12 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-06-11 18:12:12 +0100 |
commit | 34fd1f7ab52d4cccdd650ebda3962a44f7f2db23 (patch) | |
tree | 9184b9867bb95460d9c303a480572aba6ac3100d | |
parent | Lint (diff) | |
download | synapse-34fd1f7ab52d4cccdd650ebda3962a44f7f2db23.tar.xz |
Fix schema update
-rw-r--r-- | synapse/storage/data_stores/main/schema/delta/59/00push_summary_unread_count.sql | 2 |
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; |