Migration of multiple schemes

Hi

I'm trying to start using the dev-tool migration feature, but i have a problem since the project I'm trying to migrate has multiple schemes. So is it possible to define multiple dbnames in the ini file or load different ini files at the same time, so the generated migration files is placed the same version directory.

Thanks in advance



966

Hi

Try to use:

migration generate --config=config-file-for-the-first-db --migrations=dir-for-the-first-db

and then

migration generate --config=config-file-for-the-second db --migrations=dir-for-the-secon-db