30 Days to Learn Laravel, Ep 08 - Introduction to Migrations

It’s time to move on to the subject of databases. In this lesson, we’ll discuss Laravel migrations. You can think of migrations as PHP blueprints that determine your table structure. Homework: Create a new migration for a “comments“ table that includes an “id“, “user_id“, and “body“ columns. Run the migration from the command line to construct the table. Watch Full Series on: Watch thousands of videos, track your progress, and participate in a massive Laravel community at . Laracasts: Laracasts Twitter: Jeffrey Way Twitter:
Back to Top