In Microsoft Windows, "php artisan migrate" does not work when the main directory containing the project has bracket symbols. It creates the migration table but not the rest of the tables.
Steps To Reproduce:
Open a terminal:
mkdir "C:\[BUG]"
cd "C:\[BUG]"
composer create-project laravel/lumen buggy
cd buggy
composer install
Configure a new MySQL database in the .env file.
php artisan make:migration Articles
Add a table.
php artisan migrate
The expected result is that the table you created would be migrated to the database.
The current result is that only the "migrations" table is created.
This has been tested in 3 different machines with the same result.
Yes, I know I can put my apps in a different directory to make them work, but this caught us by surprise. Renaming the directory does solve the problem.
Description:
In Microsoft Windows, "php artisan migrate" does not work when the main directory containing the project has bracket symbols. It creates the migration table but not the rest of the tables.
Steps To Reproduce:
Open a terminal:
Configure a new MySQL database in the .env file.
Add a table.
The expected result is that the table you created would be migrated to the database. The current result is that only the "migrations" table is created.
This has been tested in 3 different machines with the same result.
Yes, I know I can put my apps in a different directory to make them work, but this caught us by surprise. Renaming the directory does solve the problem.