blob: 96db38e41fe0fe6100b98e7f5180837c39cee5ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
-- Oct. 1st 2004 - Ashar Voultoiz
-- Implement the new sitelevels
--
-- This is under development to provide a showcase in HEAD :o)
-- Hold group name and description
CREATE TABLE /*$wgDBprefix*/`group` (
group_id int(5) unsigned NOT NULL auto_increment,
group_name varchar(50) NOT NULL default '',
group_description varchar(255) NOT NULL default '',
group_rights tinyblob,
PRIMARY KEY (group_id)
) TYPE=InnoDB;
-- Relation table between user and groups
CREATE TABLE /*$wgDBprefix*/user_groups (
ug_user int(5) unsigned NOT NULL default '0',
ug_group int(5) unsigned NOT NULL default '0',
PRIMARY KEY (ug_user,ug_group)
) TYPE=InnoDB;
|