-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migration create command is not creating required folders #565
Comments
@nook24 I have tested and it creates directories correctly for both app and plugin. Could you please check if you have |
Maybe instead of leaving phinx manage this, we could alert user that folders don't exist and debug is disabled so folders must be created manually. What do you think @markstory? |
I didn't know that debug has to be enabled for this. So probably it was not set to true. Is this a new behavior? I manage the debug value through an environment variable which is most of the time not set to true on the CLI to be honest. So I'm wondering that I never noticed this before. When setting Would be good if the migration plugin would output a more helpful error message |
See #512 |
Enable debug mode so that CakePHP will create missing folders #1446 cakephp/migrations#565
Enable debug mode so that CakePHP will create missing folders #1446 cakephp/migrations#565
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 4.4.5
Migrations plugin version: 3.5.3
Bake plugin version (if relevant): 2.8.1
Database server (MySQL, SQLite, Postgres): MySQL 8.0.30-0ubuntu0.22.04.1
PHP Version: 8.1.2
Platform / OS: Ubuntu 22.04.1 LTS
What you did
I noticed that the
migration create
command is not creating the required folders anymore.To resolve the issue, i simply created the two folders:
Expected Behavior
Create the Migrations and Seeds folder instead of throwing a cryptic error message
Actual Behavior
The text was updated successfully, but these errors were encountered: