I am using CakeDc Migrations plugin for database migration. my application is using two databases. so configured it in database.php. I have written many migrations which co-ordinate with the database1(default connection ) and its working fine. Now I want to write one migration which co-ordinate with database2(I want to run these queries only on database2 ) . how Can I differentiate? at what level ?
Thank you.
Just read the help text and documentation.
There are more options, just type
cake migrations.migration
and read what it shows. There is also a lot documentation in the /Docs folder.