Home > Back-end >  The "--path" option does not exist
The "--path" option does not exist

Time:12-23

The --path option does not exist.

Artisan::call("migrate --path=database/migrations/tenant")

I updated Laravel from 5.8 to Laravel 8.

I don't know what is wrong.

Artisan::call("migrate") works fine

CodePudding user response:

Try do put the / after the path, like:

Artisan::call("migrate --path=/database/migrations/tenant");

  • Related