I am trying to insert values into my comments table and I am getting a error. Its saying that I can not add or update child row and I have no idea what that means. My schema
In my case, the value was empty for target table column while the reference table column has it. hence was throwing this error.