diff --git a/modules/Bio/EnsEMBL/DBSQL/PredictionExonAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/PredictionExonAdaptor.pm index 623cfb505fe424c3fcf65ea603e32baa441277e4..480709f1a01a62487cc3d36493530adeb94e959a 100644 --- a/modules/Bio/EnsEMBL/DBSQL/PredictionExonAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/PredictionExonAdaptor.pm @@ -241,7 +241,7 @@ sub remove { return undef; } - my $sth = $self->prepare( "delete from exon where exon_id = ?" ); + my $sth = $self->prepare( "delete from prediction_exon where prediction_exon_id = ?" ); $sth->execute( $pexon->dbID ); $pexon->dbID(undef);