Commands.app

php artisan make:migration

Database

Create a new database migration

Options & Flags
Available options for this command
--create=table

Create table migration

--table=table

Modify existing table

Examples
Common usage examples

Create a new migration

php artisan make:migration create_posts_table

Create table migration with boilerplate

php artisan make:migration create_posts_table --create=posts

Create migration to modify existing table

php artisan make:migration add_status_to_posts --table=posts
Related Commands
You might also find these useful