Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Jul. 6th 2018

Unlocking Badges Workshop: Use TDD to Construct Migrations and Attributes

Episode 3 Run Time 6:01

Download

It sounds like we'll need an Achievement Eloquent model, as well as its associated database table. Let's use TDD to construct both.