Current table
CREATE TABLE /*$wgDBprefix*/closedwikis ( cw_wiki varchar(255) NOT NULL, cw_reason mediumblob NOT NULL, cw_timestamp binary(14) NOT NULL, cw_by tinyblob NOT NULL ) /*$wgDBTableOptions*/; CREATE UNIQUE INDEX cw_wiki ON closedwikis (cw_wiki);
The unique index should be converted to a primary key.
There appear to be no direct references to the index itself: https://codesearch.wmflabs.org/search/?q=cw_wiki%5B%5Es%5D&i=nope&files=&repos=