简体   繁体   中英

Migrations in Laravel are not been placed in 'database\migrations' folder

I'm making a migration in laravel like this:

php artisan make:migration create_tasks_table

and then I get a message from the console like this:

Created Migration: 2017_04_03_002411_create_tasks_table

But when I go to the 'database\\migrations' directory there's no .php file related to the migration I made.

Why is this happening?

It could be that your IDE is not updating the filesystem. What i would suggest is to use the terminal to navigate to the migrations directory and list the content of the directory to see if its truely empty.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM