summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorLuke Barnard <luke@matrix.org>2018-04-05 14:01:17 +0100
committerLuke Barnard <luke@matrix.org>2018-04-05 14:01:17 +0100
commit700e5e719875dd7008791f52828bb3cd92d6ce21 (patch)
treeb9dd73347dd1cb83f6308788ace2e2bc1b0a3597 /synapse/storage/schema
parentDocument set_group_join_policy (diff)
downloadsynapse-700e5e719875dd7008791f52828bb3cd92d6ce21.tar.xz
Use DEFAULT join_policy of "invite" in db
Diffstat (limited to 'synapse/storage/schema')
-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 ab3b00286d..53add94367 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 DEFAULT NULL;
+ALTER TABLE groups ADD COLUMN join_policy TEXT NON NULL DEFAULT 'invite';