diff --git a/synapse/storage/data_stores/main/event_push_actions.py b/synapse/storage/data_stores/main/event_push_actions.py
index 7cd3ae6ae6c681c4da8d2960656de954ad21afa2..14eb79cc42d29c86a4bfa2f18267d7837b3d7acf 100644
--- a/synapse/storage/data_stores/main/event_push_actions.py
+++ b/synapse/storage/data_stores/main/event_push_actions.py
@@ -149,6 +149,12 @@ class EventPushActionsWorkerStore(SQLBaseStore):
             unread_count += row[0]
             if row[1] == 1:
                 notify_count = row[0]
+            elif row[1] != 0:
+                logger.warning(
+                    "Unexpected value %d for column 'notif' in table"
+                    " 'event_push_actions'",
+                    row[1],
+                )
 
         txn.execute(
             """