Well keep in mind that the file_group_id can exist in both the contacts and orders table since your db structure isn't preventing that. Hopefully your code is preventing that. Your code looks like it should work. What's wrong with it?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community