From 183851b06bd6c52f3cae5375f433da720d410447 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Wed, 11 Oct 2006 18:12:39 +0000
Subject: MediaWiki 1.7.1 wiederhergestellt

---
 maintenance/archives/patch-rename-group.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 maintenance/archives/patch-rename-group.sql

(limited to 'maintenance/archives/patch-rename-group.sql')

diff --git a/maintenance/archives/patch-rename-group.sql b/maintenance/archives/patch-rename-group.sql
new file mode 100644
index 00000000..026b60bd
--- /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;
+
-- 
cgit v1.2.2

