You can make a database migration with the help of the make:migration Artisan command. Your database/migrations directory is where the new migration will be put. Each migration filename has a timestamp that tells Laravel in what order the migrations should be run:

php artisan make:migration create_users_table

Laravel will try to guess the name of the table and whether or not the migration will create a new table based on the name of the migration. If Laravel can figure out the table name from the name of the migration, the table will already be in the generated migration file. If not, you can just put the table name in the migration file by hand.

If you want to give the generated migration a different path, you can use the —path option when running the make:migration command. The path you give should be relative to the base path of your application.