Fix line endings; add line-ending marker property; add final newline.
[lhc/web/wiklou.git] / maintenance / archives / patch-oldestindex.sql
index 83aa694..930214f 100644 (file)
@@ -1,5 +1,5 @@
 -- Add index for "Oldest articles" (Special:Ancientpages)
 -- 2003-05-23 Erik Moeller <moeller@scireview.de>
 
-ALTER TABLE cur
-   ADD KEY namespace_redirect_timestamp(cur_namespace,cur_is_redirect,cur_timestamp);
\ No newline at end of file
+ALTER TABLE /*$wgDBprefix*/cur
+   ADD INDEX namespace_redirect_timestamp(cur_namespace,cur_is_redirect,cur_timestamp);