Merge "mw.Map: add ability to map over an existing object other than 'window'"
[lhc/web/wiklou.git] / maintenance / archives / patch-rename-iwl_prefix.sql
index df36029..4a41003 100644 (file)
@@ -1,5 +1,4 @@
--- 
--- Recreates the iwl_prefix for the iwlinks table
 --
-DROP INDEX /*i*/iwl_prefix ON /*_*/iwlinks;
-CREATE INDEX /*i*/iwl_prefix_from_title ON /*_*/iwlinks (iwl_prefix, iwl_from, iwl_title);
\ No newline at end of file
+-- Recreates the iwl_prefix index for the iwlinks table
+--
+CREATE UNIQUE INDEX /*i*/iwl_prefix_title_from ON /*_*/iwlinks (iwl_prefix, iwl_title, iwl_from);