Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Build a REST API with Laravel!
You have completed Build a REST API with Laravel!
Preview
Now that we’ve created a new Laravel application, added the database credentials to the .env file, and tested our database connection with php artisan migrate, we’re ready to start building our database migrations.
Migrations
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
credentials to the ENV file, and
tested our database connection with
0:00
php artisan migrate, we're ready to
start building our database migrations.
0:02
So what are migrations exactly?
0:08
Migrations are like version control for
your database, allowing you and
0:12
your team to collaborate on the same
database schema without conflicts.
0:17
Migrations work in tandem with
a schema builder which defines you
0:22
application's database schema.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up