Loading…

How to create migrations in Laravel? explain step by steps.

To create migrations in Laravel, we have to use artisan command make:migration. The migration file will be stored in /database/migrations directory. As each migration file contains a timestamp, we can easily determine the order of migrations.

Suggest An Answer

Our Particitants

We can create migration via run bellow command

php artisan create:migration migration_name

Migration is the proccess of merging databae basically update db from local system. It is allowing us to modify and share the application

Latest post from Laravel Interview Questions

Ask Question