diff --git a/db/schema.sql b/db/schema.sql index 3b39b50d..649fe6ba 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -404,7 +404,7 @@ CREATE TABLE `representatives_uptime_index` ( `timestamp` int(11) NOT NULL, INDEX `online` (`online`), - UNIQUE KEY `account` (`account`) + UNIQUE KEY `account_online` (`account`,`online`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- --------------------------------------------------------