0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 20:53:52 +01:00

Use DEFAULT join_policy of "invite" in db

This commit is contained in:
Luke Barnard 2018-04-05 14:01:17 +01:00
parent b214a04ffc
commit 700e5e7198

View file

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