This is the util function that will be called in both web and native persist.js files to update thread infos in the thread store using the new migration approach.
To implement this method I used the preexisting createUpdateDBOpsForThreadStoreThreadInfos util function as inspiration.