From 37a40a30d30665d15d4a9c34b8b115d6d04dec59 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 5 Jan 2018 14:39:54 -0500 Subject: [PATCH] drop archived and Frames indexes from Events, as they are useless. Add a StorageId Index --- db/zm_update-1.31.19.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/zm_update-1.31.19.sql b/db/zm_update-1.31.19.sql index a33f94944..1ca3a7893 100644 --- a/db/zm_update-1.31.19.sql +++ b/db/zm_update-1.31.19.sql @@ -93,3 +93,7 @@ end; delimiter ; +ALTER TABLE Events DROP INDEX Archived; +ALTER TABLE Events DROP INDEX Frames; +CREATE INDEX Events_StorageId_idx on Events (StorageId); +