fakefactory icon indicating copy to clipboard operation
fakefactory copied to clipboard

Foreign ID Chaining

Open aewing opened this issue 10 years ago • 0 comments

I was having issues with using Fakefactory to chain related models, i.e. Fakefactory::with('table_one')->with('table_two')->with('table_three')->create('table_four');

Table four was failing foreign key constraints for all of the other tables.

aewing avatar Aug 25 '14 12:08 aewing