-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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 of workbench package does not work. #44
Comments
You aren't meant to use bench like that, it is only used for your own workbenches. In this case I believe you use |
Sorry for the confusion. This is my own WIP package. I run
the problem seems to lie here: the Migrator->resolve($file) method is not aware of workbench or vendor paths and will look for (in my case) \CreateContentTables which can't be resolved unless I add the migration folder to composer.json classmaps directive. |
Ah alright, I am still waking up and read your command a bit wrong. If I get a chance I will test to see if I have the same issue later. |
Yeah mate it should work fine. Make sure your package in your workbench has I can confirm that running migrations within a workbench package is working. |
It is work fine for me |
Yeah, that worked for me too. I forgot the composer dump-autoload in workbench//. |
Apply fixes from StyleCI
running
fails with
if I add the path
To autoload.classmaps in composer.json it works fine.
I havn't tested it but I am sure composer packages in vendor/ will have the same problem.
The text was updated successfully, but these errors were encountered: