blob: 17ff3c5db8cbd856f36123d587abbc581cc8802b (
plain)
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*/groups (
gr_id int(5) unsigned NOT NULL auto_increment,
gr_name varchar(50) NOT NULL default '',
gr_description varchar(255) NOT NULL default '',
gr_rights tinyblob,
PRIMARY KEY (gr_id)
) /*$wgDBTableOptions*/;
-- 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)
) /*$wgDBTableOptions*/;
|