MySQL Forums
Forum List  »  MySQL Workbench

Forward Engineer - Force insert order for FK constraints?
Posted by: Courtney Miles
Date: May 19, 2013 12:05AM

I'm having an issue with the Forward Engineer when generating INSERT statements because the order the INSERT statements are ran causes some to fail FK constraints.

Is there a way to force the order of the INSERT statements (without editing the resulting script everytime), or to have the FKs defined after the INSERTs?



Edited 1 time(s). Last edit at 05/19/2013 01:01AM by Courtney Miles.

Options: ReplyQuote


Subject
Views
Written By
Posted
Forward Engineer - Force insert order for FK constraints?
1218
May 19, 2013 12:05AM


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.