From 3c966fadb9306b00b63176b65e5e584fd3d6133a Mon Sep 17 00:00:00 2001 From: mistakia <1823355+mistakia@users.noreply.github.com> Date: Thu, 21 Mar 2024 22:20:42 -0400 Subject: [PATCH] chore: update schema --- db/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- --------------------------------------------------------