MySQL Forums
Forum List  »  Ruby

Re: foreign key
Posted by: Stu Warren
Date: July 14, 2008 05:11AM

I have tried this example but I can delete and add ID's to each table without any type of 'foreign key error' occurring. Ex. I can add user 1 to each table and then delete from the users table without getting an error. Also, I can insert an ID to profiles that is not in the users table.

Options: ReplyQuote


Subject
Written By
Posted
October 31, 2006 04:01PM
October 31, 2006 04:23PM
May 03, 2007 01:22AM
July 18, 2007 07:58AM
July 18, 2007 07:54AM
November 11, 2007 10:33AM
February 21, 2008 05:30AM
Re: foreign key
July 14, 2008 05:11AM
October 20, 2008 06:22AM
October 23, 2008 12:57AM
October 23, 2008 12:58AM
October 23, 2008 12:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.