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:
Brion Vibber
2011-03-21 13:30:40 -07:00
parent 01ecca5e60
commit 0bec9cfdbc
7 changed files with 73 additions and 0 deletions

View File

@@ -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();