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