Split down patch-comment-table.sql
[lhc/web/wiklou.git] / maintenance / archives / patch-user_groups.sql
index 20e0052..1683cf2 100644 (file)
@@ -8,8 +8,8 @@
 --
 CREATE TABLE /*$wgDBprefix*/user_groups (
   -- Key to user_id
-  ug_user int(5) unsigned NOT NULL default '0',
-  
+  ug_user int unsigned NOT NULL default '0',
+
   -- Group names are short symbolic string keys.
   -- The set of group names is open-ended, though in practice
   -- only some predefined ones are likely to be used.
@@ -18,8 +18,8 @@ CREATE TABLE /*$wgDBprefix*/user_groups (
   -- with particular permissions. A user will have the combined
   -- permissions of any group they're explicitly in, plus
   -- the implicit '*' and 'user' groups.
-  ug_group char(16) NOT NULL default '',
-  
+  ug_group varbinary(16) NOT NULL default '',
+
   PRIMARY KEY (ug_user,ug_group),
   KEY (ug_group)
 ) /*$wgDBTableOptions*/;