DEV Community

[Comment from a deleted post]
 
darwin1501 profile image
darwin1501 • Edited

I think I fixed the the error that I was having for days. Instead of changing the post slug url to blog-post. I changed the Post Model name, and database name posts to blog_post. and I also changed some code on the database migrations "post_tags" inside this php file I changed the post_id to blog_post_id, and I also change the column name post_id to blog_post_id into the database to make it work. Now I can continue to your tutorials, without existing errors. Thank you for providing me some possible solutions. It made me think outside the box to do this solution on my head. Thank you, now I can continue to your next tutorial on the blog.