Merge "Removed obsolete "containsOldMagic" code"
[lhc/web/wiklou.git] / maintenance / archives / patch-pl-tl-il-unique.sql
index 0dd452f..a356670 100644 (file)
@@ -1,11 +1,11 @@
--- \r
--- patch-pl-tl-il-unique-index.sql\r
--- \r
--- Make reorderings of UNIQUE indices UNIQUE as well\r
-\r
-DROP INDEX pl_namespace ON /*_*/pagelinks;\r
-CREATE UNIQUE INDEX pl_namespace ON /*_*/pagelinks (pl_namespace, pl_title, pl_from);\r
-DROP INDEX tl_namespace ON /*_*/templatelinks;\r
-CREATE UNIQUE INDEX tl_namespace ON /*_*/templatelinks (tl_namespace, tl_title, tl_from);\r
-DROP INDEX il_to ON /*_*/imagelinks;\r
-CREATE UNIQUE INDEX il_to ON /*_*/imagelinks (il_to, il_from);\r
+--
+-- patch-pl-tl-il-unique-index.sql
+--
+-- Make reorderings of UNIQUE indices UNIQUE as well
+
+DROP INDEX /*i*/pl_namespace ON /*_*/pagelinks;
+CREATE UNIQUE INDEX /*i*/pl_namespace ON /*_*/pagelinks (pl_namespace, pl_title, pl_from);
+DROP INDEX /*i*/tl_namespace ON /*_*/templatelinks;
+CREATE UNIQUE INDEX /*i*/tl_namespace ON /*_*/templatelinks (tl_namespace, tl_title, tl_from);
+DROP INDEX /*i*/il_to ON /*_*/imagelinks;
+CREATE UNIQUE INDEX /*i*/il_to ON /*_*/imagelinks (il_to, il_from);