One-to-many relationship problem

whenever I run the example it gives my error: no column named pets.posted_by

Hi @Amany_Mahmoud,

This is Fatimah Abdullah from Educative. I noticed your feedback here, and I’m glad you reached out to us.

I checked out this lesson but could not reproduce the error. Can you please let me know which route produces the error? Also, this could be caused by unresolved migration in the previous challenge. Please click the Reset button and execute it again to see if that solves the issue. If this doesn’t resolve the issue please let me know steps to reproduce the error and any screenshots if needed so I can fix the issue as soon as possible. Thank you!

Best Regards,
Fatimah Abdullah | Developer Advocate