What is database migration. How to create migration via artisan ?

devquora
devquora

Posted On: Apr 19, 2024

 

Migrations are like version control for your database, that’s allow your 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.

Use below commands to create migration data via artisan.

// creating Migration
php artisan make:migration create_users_table

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Laravel Interview Questions

    What is Laravel?

    Laravel is a free open source "PHP framework" based on the MVC design pattern. It is created by Taylor Otwell...