From f4be3985cfc1d1059b1c2ffa596ed6331e302965 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?=
 <ak4@sanger.ac.uk>
Date: Tue, 20 Jul 2010 13:10:10 +0000
Subject: [PATCH] Change meta key name 'species.db_name' to
 'species.production_name'.

---
 misc-scripts/id_mapping/id_mapping.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc-scripts/id_mapping/id_mapping.pl b/misc-scripts/id_mapping/id_mapping.pl
index 8243b7e273..9ae9df1565 100755
--- a/misc-scripts/id_mapping/id_mapping.pl
+++ b/misc-scripts/id_mapping/id_mapping.pl
@@ -697,7 +697,7 @@ sub get_species_ids {
     || die "Cannot connect to server: $DBI::errstr\n";
 
   my $query = "SELECT DISTINCT meta_value, species_id
-               FROM meta WHERE meta_key = 'species.db_name'";
+               FROM meta WHERE meta_key = 'species.production_name'";
 
   my $psmt = $ensemblCoreDbh->prepare($query);
   $psmt->execute();
-- 
GitLab