First the good news: we don't hate you! :D
I've had this error a few times and it's annoying. It's either that the FK is not set in the query, or the FK does not exist. Take a look at your code to make sure that everything is set OK.
Mei
meigwilym said:
First the good news: we don't hate you! :D
I've had this error a few times and it's annoying. It's either that the FK is not set in the query, or the FK does not exist. Take a look at your code to make sure that everything is set OK.
Mei
When I try with phpmyadmin, I use che dropdown menu to select the FK... So the FK exists! Migration code is all right? (Ps: if I remove foreign key , the query run without problems!)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community