mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
6 lines
165 B
SQL
6 lines
165 B
SQL
-- Make the image name index unique
|
|
|
|
ALTER TABLE /*$wgDBprefix*/image DROP INDEX img_name;
|
|
|
|
ALTER TABLE /*$wgDBprefix*/image
|
|
ADD UNIQUE INDEX img_name (img_name);
|