dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
maintenance: Sanity check that --replicadb isn't using the master in sql.php
[lhc/web/wiklou.git]
/
maintenance
/
archives
/
patch-image_name_primary.sql
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
);