disallow user js for Special:Userlogin and Special:Resetpass too, just in case
[mediawiki.git] / maintenance / archives / patch-userlevels.sql
blob17ff3c5db8cbd856f36123d587abbc581cc8802b
1 -- Oct. 1st 2004 - Ashar Voultoiz
2 -- Implement the new sitelevels
3 --
4 -- This is under development to provide a showcase in HEAD :o)
6 -- Hold group name and description
7 CREATE TABLE /*$wgDBprefix*/groups (
8   gr_id int(5) unsigned NOT NULL auto_increment,
9   gr_name varchar(50) NOT NULL default '',
10   gr_description varchar(255) NOT NULL default '',
11   gr_rights tinyblob,
12   PRIMARY KEY  (gr_id)
14 ) /*$wgDBTableOptions*/;
16 -- Relation table between user and groups
17 CREATE TABLE /*$wgDBprefix*/user_groups (
18         ug_user int(5) unsigned NOT NULL default '0',
19         ug_group int(5) unsigned NOT NULL default '0',
20         PRIMARY KEY  (ug_user,ug_group)
22 ) /*$wgDBTableOptions*/;