This migration basically converts ClientDBThreadInfos in the SQLite threads store to RawThreadInfos and then back to ClientDBThreadInfos.
The function that takes us from ClientDBThreadInfo -> RawThreadInfo handles converting both legacy and minimallyEncoded ClientDBThreadInfo to minimally encoded RawThreadInfos (we decided against splitting ClientDBThreadInfo into separate types since the relevant fields were all string encoded JSON blobs.
convertClientDBThreadInfoToRawThreadInfo was tested thoroughly as part of the original native migration and has "excessive" validation to ensure that we're dealing with correctly formed ClientDBThreadInfos:
Depends on D10818