summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/schema/delta/48/groups_joinable.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/48/groups_joinable.sql b/synapse/storage/schema/delta/48/groups_joinable.sql
index 53add94367..ce26eaf0c9 100644
--- a/synapse/storage/schema/delta/48/groups_joinable.sql
+++ b/synapse/storage/schema/delta/48/groups_joinable.sql
@@ -19,4 +19,4 @@
  * NULL at the python store level as necessary so that existing
  * rows are given the correct default policy.
  */
-ALTER TABLE groups ADD COLUMN join_policy TEXT NON NULL DEFAULT 'invite';
+ALTER TABLE groups ADD COLUMN join_policy TEXT NOT NULL DEFAULT 'invite';