From 11cacbefea521fd106b572fe956130bd64af6c7b Mon Sep 17 00:00:00 2001
From: Sol Jerome <sol.jerome@gmail.com>
Date: Sun, 6 May 2012 12:58:09 -0500
Subject: reports: Remove indexes for nonexistent tables

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
---
 src/lib/Bcfg2/Server/Reports/reports/sql/client.sql | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/lib/Bcfg2/Server/Reports/reports/sql/client.sql')

diff --git a/src/lib/Bcfg2/Server/Reports/reports/sql/client.sql b/src/lib/Bcfg2/Server/Reports/reports/sql/client.sql
index 8c63754c9..28e785450 100644
--- a/src/lib/Bcfg2/Server/Reports/reports/sql/client.sql
+++ b/src/lib/Bcfg2/Server/Reports/reports/sql/client.sql
@@ -1,9 +1,7 @@
 CREATE VIEW reports_current_interactions AS SELECT x.client_id AS client_id, reports_interaction.id AS interaction_id FROM (select client_id, MAX(timestamp) as timer FROM reports_interaction GROUP BY client_id) x, reports_interaction WHERE reports_interaction.client_id = x.client_id AND reports_interaction.timestamp = x.timer;
 
 create index reports_interaction_client_id on reports_interaction (client_id);
-create index reports_extra_interactions_client_id on reports_extra_interactions(interaction_id);
-create index reports_modified_interactions_client_id on reports_modified_interactions(interaction_id);
 create index reports_client_current_interaction_id on reports_client (current_interaction_id);
 create index reports_performance_interaction_performance_id on reports_performance_interaction (performance_id);
 create index reports_interaction_timestamp on reports_interaction (timestamp);
-create index reports_performance_interation_interaction_id on reports_performance_interaction (interaction_id);
\ No newline at end of file
+create index reports_performance_interation_interaction_id on reports_performance_interaction (interaction_id);
-- 
cgit v1.2.3-1-g7c22

