I am trying to create a simple database migration. But when I run the following command in the root directory of my project:
php artisan migrate:make --create=users create_users_table
I get the following error:
[ErrorException]
file_put_contents(/var/www/blog/app/database/migrations/2015_12_20_052832_create_users_table.php): failed to open stream: No such file or directory
I am using the latest version of OctoberCMS and am getting the same error both on Linux
and Windows
. How can I fix this?