Not enough arguments (missing: "name")

Updated at 22-Aug-2022, By samar

Not enough arguments (missing: "name")

We’ll attempt to use programming in this lesson to solve the "Not enough arguments (missing: "name")" puzzle.

I am getting an error `Not enough arguments (missing: "name")` while creating a migration file in Laravel using command `php artisan make:migration --table=posts`.
  • You have to add name like create_posts_table before --table=posts to get the solution for above error Not enough arguments (missing: "name").

    php artisan make:migration create_posts_table --table=posts

Back to code snippet queries related laravel