Challenge: Unique Title for Blog Posts

Work through another challenge to test your understanding of the unit layer.

We'll cover the following

Problem statement

In previous challenges, we could create blog posts without any associated author. We’ve now added a user_id attribute to the BlogPost model. The associated user serves as the author of the blog posts.

The blog_posts table is as follows:

Get hands-on with 1400+ tech skills courses.