add index to image table to query by type
authorJan Gerber <jgerber@wikimedia.org>
Thu, 22 Nov 2012 19:12:42 +0000 (19:12 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 1 Apr 2013 22:33:20 +0000 (22:33 +0000)
commit9c40037b0077b772ddd5691824de4a26fe8fc29a
tree66b21bc01d5c0dd908e42b06e8717e345d1fb3d7
parent12a37a3887de8d4fc1696c4f795aefca94b3b389
add index to image table to query by type

this speeds up Special:MIMESearch and allows
queries for all files of one type.

Change-Id: I85715b0553a771ab88d9763ba921923551988bd0
includes/installer/MysqlUpdater.php
includes/installer/SqliteUpdater.php
maintenance/archives/patch-img_media_mime-index.sql [new file with mode: 0644]
maintenance/tables.sql