From 17326dc3db6e8e492cb8f00e6fd0df7419a8f2e4 Mon Sep 17 00:00:00 2001 From: Kieron Taylor <ktaylor@ebi.ac.uk> Date: Thu, 25 Jul 2013 09:06:11 +0000 Subject: [PATCH] One last missing merge error. --- sql/patch_72_73_b.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/patch_72_73_b.sql b/sql/patch_72_73_b.sql index 99c5a2483c..96901948fa 100644 --- a/sql/patch_72_73_b.sql +++ b/sql/patch_72_73_b.sql @@ -45,7 +45,7 @@ INSERT INTO alt_allele_group (alt_allele_group_id) SELECT DISTINCT alt_allele_id INSERT INTO alt_allele (alt_allele_group_id,gene_id) SELECT alt_allele_id,gene_id FROM aa_bak; INSERT INTO alt_allele_attrib (alt_allele_id,attrib) SELECT a.alt_allele_id,'IS_REPRESENTATIVE' FROM alt_allele a, aa_bak b - WHERE b.is_ref = 1 AND a.gene_id = b.gene_id AND a.group_id = b.alt_allele_id; + WHERE b.is_ref = 1 AND a.gene_id = b.gene_id AND a.alt_allele_group_id = b.alt_allele_id; # Clean up remains DROP TABLE aa_bak; -- GitLab