From f5b8461a54c0e9dd3441e504273ccb2b94a1e983 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 10 Jan 2018 14:33:31 -0500 Subject: [PATCH] Fix indexes on Groups_MOnitors --- db/zm_create.sql.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 9a8665933..934e77bdb 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -336,8 +336,8 @@ CREATE TABLE `Groups_Monitors` ( PRIMARY KEY (`Id`) ) ENGINE=@ZM_MYSQL_ENGINE@; -CREATE INDEX `Groups_Monitors_GroupId_idx` ON `Groups` (`GroupId`); -CREATE INDEX `Groups_Monitors_MonitorId_idx` ON `Groups` (`MonitorId`); +CREATE INDEX `Groups_Monitors_GroupId_idx` ON `Groups_Monitors` (`GroupId`); +CREATE INDEX `Groups_Monitors_MonitorId_idx` ON `Groups_Monitors` (`MonitorId`); -- -- Table structure for table `Logs`