repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Clean up newWANCacheFromParams() getInstance() calls
[mediawiki.git]
/
maintenance
/
archives
/
patch-image_name_unique.sql
blob
5cf02d41e451bb6d3ce5c9b723db4b417e2f3999
1
-- Make the image name index unique
2
3
ALTER TABLE /*$wgDBprefix*/image DROP INDEX img_name;
4
5
ALTER TABLE /*$wgDBprefix*/image
6
ADD UNIQUE INDEX img_name (img_name);