Hello Everyone,
-- I am trying to create a custom plugin for CakePHP-3.0 where I want to include schema migrations [database sql queries] so that when plugin gets installed eventually migrations for the same plugin will run and tables required by the plugin will get created in users database.
I have created a Migration class under PluginName/config/Migrations/
when I do "bin/cake migrations migrate --plugin pluginName" -- I am getting success message but when I check my database no table is created.
please find enclosed here with gist of migration class and output of the above command.
https://gist.github.com/aavrug/940634042245f9632d59
Thank you.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment