summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-iwl_prefix_title_from-non-unique.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-iwl_prefix_title_from-non-unique.sql')
-rw-r--r--maintenance/archives/patch-iwl_prefix_title_from-non-unique.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/maintenance/archives/patch-iwl_prefix_title_from-non-unique.sql b/maintenance/archives/patch-iwl_prefix_title_from-non-unique.sql
new file mode 100644
index 00000000..bff63c74
--- /dev/null
+++ b/maintenance/archives/patch-iwl_prefix_title_from-non-unique.sql
@@ -0,0 +1,5 @@
+--
+-- Makes the iwl_prefix_title_from index for the iwlinks table non-unique
+--
+DROP INDEX /*i*/iwl_prefix_title_from ON /*_*/iwlinks;
+CREATE INDEX /*i*/iwl_prefix_title_from ON /*_*/iwlinks (iwl_prefix, iwl_title, iwl_from);