From 8f416baead93a48e5799e44b8bd2e2c4859f4e04 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Fri, 14 Sep 2007 13:18:58 +0200
Subject: auf Version 1.11 aktualisiert; Login-Bug behoben

---
 maintenance/archives/patch-img_sha1.sql | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 maintenance/archives/patch-img_sha1.sql

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

diff --git a/maintenance/archives/patch-img_sha1.sql b/maintenance/archives/patch-img_sha1.sql
new file mode 100644
index 00000000..35950f58
--- /dev/null
+++ b/maintenance/archives/patch-img_sha1.sql
@@ -0,0 +1,8 @@
+-- Add img_sha1, oi_sha1 and related indexes
+ALTER TABLE /*$wgDBprefix*/image
+  ADD COLUMN img_sha1 varbinary(32) NOT NULL default '',
+  ADD INDEX img_sha1 (img_sha1);
+
+ALTER TABLE /*$wgDBprefix*/oldimage
+  ADD COLUMN oi_sha1 varbinary(32) NOT NULL default '',
+  ADD INDEX oi_sha1 (oi_sha1);
-- 
cgit v1.2.2

