Commit 27ab83d7 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix.

parent 5945d7c8
......@@ -3040,7 +3040,7 @@ CREATE TABLE `login_history` (
`IP` varchar(16) default NULL,
`portal` enum('emulab','aptlab','cloudlab','phantomnet','powder') default NULL,
PRIMARY KEY (`idx`),
KEY (`uid_idx`,`tstamp`),
KEY `idxstamp` (`uid_idx`,`tstamp`),
KEY `uidstamp` (`uid`,`tstamp`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
......
......@@ -19,7 +19,7 @@ sub DoUpdate($$$)
" `portal` enum('emulab','aptlab','cloudlab', ".
" 'phantomnet','powder') default NULL, ".
" PRIMARY KEY (`idx`), ".
" KEY (`uid_idx`,`tstamp`), ".
" KEY `idxstamp` (`uid_idx`,`tstamp`), ".
" KEY `uidstamp` (`uid`,`tstamp`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1;");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment