← All tasks
🔢
Programming Beginner

Order the Steps to Build a One-to-Many Relationship

⏱ 4 min ⭐ 100 XP 🔁 3 attempts allowed

What you'll do

Arrange the steps for wiring up a hasMany/belongsTo relationship between Post and Comment.

Scenario

You're adding comments to a blog's Post model.

Ready to try it?

Create a free account and try "Order the Steps to Build a One-to-Many Relationship" free for 7 days, no card required. Earn 100 XP and track your internship progress.

Already have an account? Sign in