| Viewed 195 times

How to create a migration in Laravel

I know that migrations are a type of version control for your database, but how to create a migration in laravel-7

1 Answer
Mohammad Qandeel

you can create a migration in Laravel-7 by using the make:migration command on the Artisan CLI:

php artisan make:migration create_users_table

now you need to Running Migrations

php artisan migrate


Related Questions