diff options
Diffstat (limited to 'maintenance/archives/patch-rename-group.sql')
-rw-r--r-- | maintenance/archives/patch-rename-group.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/maintenance/archives/patch-rename-group.sql b/maintenance/archives/patch-rename-group.sql new file mode 100644 index 000000000000..026b60bdc4de --- /dev/null +++ b/maintenance/archives/patch-rename-group.sql @@ -0,0 +1,10 @@ +-- Rename groups table to groups, which is not a keyword +-- It was called group in a few alpha versions + +RENAME TABLE /*$wgDBprefix*/`group` TO /*$wgDBprefix*/groups; +ALTER TABLE /*$wgDBprefix*/groups + CHANGE group_id gr_id int(5) unsigned NOT NULL auto_increment, + CHANGE group_name gr_name varchar(50) NOT NULL default '', + CHANGE group_description gr_description varchar(255) NOT NULL default '', + CHANGE group_rights gr_rights tinyblob; + |