Fix schema update

This commit is contained in:
Brendan Abolivier 2020-06-11 18:12:12 +01:00
parent d0f095625c
commit 34fd1f7ab5
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
1 changed files with 1 additions and 1 deletions

View File

@ -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;