-
Notifications
You must be signed in to change notification settings - Fork 159
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
It's possible to use migrations for custom plugin? #312
Comments
I'm not sure about your question. Could you give more information about it? Thanks @ricardovigatti |
Well, there is nothing special about this. I want to use migrations whitin custom plugins. I've tried like the example above, putting the generated migration file inside the plugin folder, but got that error. Seems like the Migrations plugin didn't find the migration file inside the plugin folder. I don't know if it's supported. |
you can have migrations inside the plugins. You can check our documentation. https://github.com/CakeDC/migrations/blob/master/Docs/Documentation/Examples.md#running-migrations-for-plugins if you have any more doubts, please let me know. |
Well, i was searching for a doc like that, but somehow the link you gave is pointing me to a 404 not found page. |
Thanks, i'll try it |
I've tried to put it like the example below and run
cake Migrations.migration run up
, but i got a message saying that i have no valid migration files.The text was updated successfully, but these errors were encountered: