From 11ffa4f0df674a6f58a1426935fa93ba33cdc94e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?=
 <ak4@sanger.ac.uk>
Date: Fri, 3 Dec 2010 12:35:17 +0000
Subject: [PATCH] Drop the db_current view, it's not needed.

---
 misc-scripts/production_database/sql/tables.sql | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/misc-scripts/production_database/sql/tables.sql b/misc-scripts/production_database/sql/tables.sql
index 1aac8c0a4e..52fda29367 100644
--- a/misc-scripts/production_database/sql/tables.sql
+++ b/misc-scripts/production_database/sql/tables.sql
@@ -121,16 +121,6 @@ FROM    species
   JOIN  db USING (species_id)
 WHERE species.is_current = 1;
 
-CREATE VIEW db_current AS
-SELECT
-  species.species_id AS species_id,
-  db.db_id AS db_id,
-  db.db_type AS db_type
-FROM db
-  JOIN species USING (species_id)
-WHERE species.is_current = 1
-  AND db.is_current = 1;
-
 -- CREATE VIEW readable_web_data AS
 -- SELECT  CONCAT('{',
 --           GROUP_CONCAT(data SEPARATOR ','),
-- 
GitLab