forked from GNUsocial/gnu-social
Add request_queue table and user_group.join_policy column, for upcoming join & subscription moderation.
UI for setting the join policy is in, but not yet used.
This commit is contained in:
@@ -649,6 +649,7 @@ $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'),
|
||||
),
|
||||
'primary key' => array('id'),
|
||||
'unique keys' => array(
|
||||
@@ -1025,3 +1026,5 @@ $schema['schema_version'] = array(
|
||||
),
|
||||
'primary key' => array('table_name'),
|
||||
);
|
||||
|
||||
$schema['request_queue'] = Request_queue::schemaDef();
|
||||
|
Reference in New Issue
Block a user