PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 22, 2022

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

 January 22, 2022     composer-php, laravel, php     No comments   

Issue

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?


Solution

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.



Answered By - oseintow
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing