Explain Migrations in Laravel ? How to generate migration

Explain Migrations in Laravel ? How to generate migration ?

Laravel Migrations are like version control for our database, allowing a team to easily modify and share the application’s database schema. Migrations are typically paired with Laravel’s schema builder to easily build your application’s database schema.

Steps to Generate Migrations in Laravel

To create a migration, use the make:migration Artisan command
When you create a migration file, Laravel stores it in /database/migrations directory.
Every migration file name contains a timestamp which allows Laravel to decide the order of the migrations.
Open the command prompt or terminal depending on your operating system.