base64 check, log migration db, encrypted_secret field, patchsize