This is the util function that will be called in both `web` and `native` persist migration files to update thread infos in the thread store using the new migration approach.
To implement this method I used [[ https://github.com/CommE2E/comm/blob/master/native/redux/client-db-utils.js#L55-L86 | the preexisting createUpdateDBOpsForThreadStoreThreadInfos util function ]] as inspiration.