search for: contactphon

Displaying 1 result from an estimated 1 matches for "contactphon".

Did you mean: contactphone
2006 May 06
3
Question about one-to-many-to-many
Guys, I''ve set up a 1-M-M relationship between 3 tables/models. I can''t get cascading deletes (haven''t tried updates yet) to work when the master record is deleted. I''m using MySQL 4.1.x, and the error message is: Mysql::Error: #23000Cannot delete or update a parent row: a foreign key constraint fails: DELETE FROM contact_addresses WHERE (contact_id = 1).