-
-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
4.0
What did you expect to happen?
When using the artisan command make:migration, you are able to define a custom path relative to the application of where you would like to store the migrations. In this case, the goal was to store the migrations in a plugin directory, rather than the acorn default which sets the path to the theme directory.
What actually happens?
When using --path as a parameter, it's wp that inherits it rather than acorn (artisan), since you are also able to define a WordPress path when using WP CLI.
Steps to reproduce
- Install a Bedrock / WordPress instance
- Go to any directory and run
wp acorn make:migration create_example_table --path=web/app/plugins/testplugin/ - You should get the error
Warning: No WordPress installation found.since it's looking for WordPress inweb/app/plugins/testplugin/
System info
No response
Log output
No response
Please confirm this isn't a support request.
Yes
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working