only migrate apps that need a migration
Merge pull request #4795 from dimagi/app-migration-tweaks

only migrate apps that need a migration