Closed KonstantinKorepin closed 1 year ago
Hi @KonstantinKorepin I am sorry for being late.
Could you please try Migration Generator latest version 6.10.0
?
I have no issue with php artisan migrate:generate --path=/app/database/migrations
.
Just FYI, you should use app/
instead of /app/
to output to relative path.
Hi @kitloong !
Thank you very much! It's works!
Hello!
When I run the command
php artisan migrate:generate
I get a message "Argument 1 passed to KitLoong\MigrationsGenerator\Setting::setPath() must be of the type string, null given, called in /home/kostya/server/regop.local/vendor/kitloong/laravel-migrations-generator/src/MigrateGenerateCommand.php on line 155"Then I run
php artisan migrate:generate --path=/app/database/migrations
and I get Message " Argument 1 passed to KitLoong\MigrationsGenerator\Setting::setStubPath() must be of the type string, null given, called in /home/kostya/server/regop.local/vendor/kitloong/laravel-migrations-generator/src/MigrateGenerateCommand.php on line 193"Why is this happening? What am I doing wrong? I want the migrations to go to the default folder
database/migrations
Details:
composer info doctrine/dbal | grep versions
]: 2.10.2