Tweak image img_name index updater to current tables.sql (primary key)
[lhc/web/wiklou.git] / maintenance / archives / patch-image_name_primary.sql
1 -- Make the image name index unique
2
3 ALTER TABLE image DROP INDEX img_name;
4
5 ALTER TABLE image
6 ADD PRIMARY KEY img_name (img_name);