Previous migration code could crash if the `clientId` or `clientSecret` columns were null during the migration (unclear how that could happen but there's at least one user report of this crash). Re-write the migration to set these columns to the empty string if NULL first.