fix memory issue with pre_auth_submissions migration
Merge pull request #2939 from dimagi/fix-auth-migration

fix memory issue with pre_auth_submissions migration