summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/26/forgotten_memberships.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/26/forgotten_memberships.sql b/synapse/storage/schema/delta/26/forgotten_memberships.sql
index df55b9c6f6..beeb8a288b 100644
--- a/synapse/storage/schema/delta/26/forgotten_memberships.sql
+++ b/synapse/storage/schema/delta/26/forgotten_memberships.sql
@@ -19,6 +19,8 @@
  *
  * If all users on this server have left a room, we can delete the room
  * entirely.
+ *
+ * This column should always contain either 0 or 1.
  */
 
- ALTER TABLE room_memberships ADD COLUMN forgotten INTEGER(1) DEFAULT 0;
+ ALTER TABLE room_memberships ADD COLUMN forgotten INTEGER DEFAULT 0;