summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-il_from_namespace.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-il_from_namespace.sql')
-rw-r--r--maintenance/archives/patch-il_from_namespace.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/archives/patch-il_from_namespace.sql b/maintenance/archives/patch-il_from_namespace.sql
index 4c858f44..2a2d361b 100644
--- a/maintenance/archives/patch-il_from_namespace.sql
+++ b/maintenance/archives/patch-il_from_namespace.sql
@@ -1,4 +1,4 @@
ALTER TABLE /*_*/imagelinks
ADD COLUMN il_from_namespace int NOT NULL default 0;
-CREATE INDEX /*i*/il_backlinks_namespace ON /*_*/imagelinks (il_to,il_from_namespace,il_from); \ No newline at end of file
+CREATE INDEX /*i*/il_backlinks_namespace ON /*_*/imagelinks (il_from_namespace,il_to,il_from); \ No newline at end of file