including the new Defines.php
[mediawiki.git] / maintenance / archives / patch-image_name_unique.sql
blob118b068ddcb5de15f9a88bf28a9ab2d1fc07b566
1 -- Make the image name index unique
3 ALTER TABLE image DROP INDEX img_name;
5 ALTER TABLE image
6   ADD UNIQUE INDEX img_name (img_name);