Closed erwinwinder closed 11 years ago
1) Add an individual (a) 2) Add an individual (b) with mother (a) 3) Delete (a):
REMOVE FAILED: remove(Individual) failed: Cannot delete or update a parent row: a foreign key constraint fails (omicsconnect.individual, CONSTRAINT individual_ibfk_2 FOREIGN KEY (Mother) REFERENCES Individual (id))
omicsconnect
individual
individual_ibfk_2
Mother
Individual
id
This is, in my mind, exactly what we want.
1) Add an individual (a) 2) Add an individual (b) with mother (a) 3) Delete (a):
REMOVE FAILED: remove(Individual) failed: Cannot delete or update a parent row: a foreign key constraint fails (
omicsconnect
.individual
, CONSTRAINTindividual_ibfk_2
FOREIGN KEY (Mother
) REFERENCESIndividual
(id
))