fix migrate port
Merge pull request #3002 from dimagi/migrate

fix migrate port