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
PrefixSearch: Avoid notice when no subpage exists
[mediawiki.git]
/
maintenance
/
archives
/
patch-image_name_primary.sql
blob
5bd882646f782f3717a8fe30008bb34d0c784467
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 PRIMARY KEY img_name (img_name);