]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/core.php
Add a scope-forcing flag to user_group
[quix0rs-gnu-social.git] / db / core.php
index ab1f1597433fb02d54c2ccfc6ccea6715af9d8a8..90f5fb3f9f28b6a4db03e03bccbde152df08037b 100644 (file)
@@ -653,7 +653,8 @@ $schema['user_group'] = array(
 
         'uri' => array('type' => 'varchar', 'length' => 255, 'description' => 'universal identifier'),
         'mainpage' => array('type' => 'varchar', 'length' => 255, 'description' => 'page for group info to link to'),
-        'join_policy' => array('type' => 'int', 'size' => 'tiny', 'description' => '0=open; 1=requires admin approval'),
+        'join_policy' => array('type' => 'int', 'size' => 'tiny', 'description' => '0=open; 1=requires admin approval'),      
+        'force_scope' => array('type' => 'int', 'size' => 'tiny', 'description' => '0=never,1=sometimes,-1=always'),
     ),
     'primary key' => array('id'),
     'unique keys' => array(