- 🇺🇸United States luke adams
A little late to the party here, I just ran into this due to skipping over a bunch of versions from 9.x to 10.5.x. I found the update hook in `user.install` which is called out in #11 does not exist in the 10.5.x branch, and therefor a `drush updb` does not fix the issue.
10.5.x branch: https://git.drupalcode.org/project/drupal/-/blob/10.5.x/core/modules/use...
Update which previously fixed the issue: https://git.drupalcode.org/project/drupal/-/commit/139f911#94503a3b79687...
Under the branches fieldgroup towards the top of that commit it shows 10.5.x as a branch including this fix, however, it's not there.
I was able to get beyond this error by taking the code from the update hook in the commit and putting it in my own `my_module.install` and running `drush updb`.