Yii2 Migration from multiple migrationPath

hi, experts

 I have a question about Yii2's db migration. 

 an application have two modules each with their own migration, but they share the same database, and their migrations have interdependencies.


      |_  module_1/

      |                     |_migrations/

      |                                          |_ migration1

      |                                          |_ migration 3

      |_ module_2/




I’m wondering whether Yii2 can support such kind of db migrations, if not , we have to merge all migrations under a single path.

I think yii2 supports that

i did not find exact solution for your problem

but see this link it may help you


thank you for you pointer, I’ll try it .

it works prefectly.

Good to know that i could help