Follow-up r71118: forgot to re-add the index
authorMax Semenik <maxsem@users.mediawiki.org>
Sun, 12 Sep 2010 18:00:28 +0000 (18:00 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Sun, 12 Sep 2010 18:00:28 +0000 (18:00 +0000)
maintenance/sqlite/archives/patch-iw_api_and_wikiid.sql

index 1a4e8a5..f9172b5 100644 (file)
@@ -15,3 +15,5 @@ CREATE TABLE /*_*/interwiki_tmp (
 INSERT INTO /*_*/interwiki_tmp SELECT iw_prefix, iw_url, '', '', iw_local, iw_trans FROM /*_*/interwiki;
 DROP TABLE /*_*/interwiki;
 ALTER TABLE /*_*/interwiki_tmp RENAME TO /*_*/interwiki;
+
+CREATE UNIQUE INDEX /*i*/iw_prefix ON /*_*/interwiki (iw_prefix);
\ No newline at end of file