Let's create migrations and models

Published: 01 May 2021
on channel: Rehan Manzoor
52
3

Let's build a blog with laravel from scratch. In this video we will try to understand what are laravel migrations, how to create table using laravel migrations and how to add model in laravel projects.

Migrations are like version control for your database, allowing your team to define and share the application's database schema definition. If you have ever had to tell a teammate to manually add a column to their local database schema after pulling in your changes from source control, you've faced the problem that database migrations solve.

The Laravel Schema facade provides database agnostic support for creating and manipulating tables across all of Laravel's supported database systems. Typically, migrations will use this facade to create and modify database tables and columns.
https://laravel.com/docs/8.x/migratio...

Laravel includes Eloquent, an object-relational mapper (ORM) that makes it enjoyable to interact with your database. When using Eloquent, each database table has a corresponding "Model" that is used to interact with that table. In addition to retrieving records from the database table, Eloquent models allow you to insert, update, and delete records from the table as well.
https://laravel.com/docs/8.x/eloquent...


Watch video Let's create migrations and models online without registration, duration hours minute second in high quality. This video was added by user Rehan Manzoor 01 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5 once and liked it people.