Skip to content
Permalink
Browse files

change from UNIQUE KEY to UNIQUE INDEX

  • Loading branch information...
sam_marshall
sam_marshall committed Sep 25, 2006
1 parent 5cee80e commit 98a7359506985faddd13a21f5b9d8a1069341a9f
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/db/mysql.php
@@ -171,7 +171,7 @@ function wiki_upgrade($oldversion) {
lockedsince INT(10) NOT NULL DEFAULT 0,
lockedseen INT(10) NOT NULL DEFAULT 0,
PRIMARY KEY(id),
UNIQUE KEY wiki_locks_uk(wikiid,pagename),
UNIQUE INDEX wiki_locks_uk(wikiid,pagename),
INDEX wiki_locks_ix(lockedseen)
);");
}

0 comments on commit 98a7359

Please sign in to comment.
You can’t perform that action at this time.