mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Backport #19048 There is (yet) another problem with v210 in that Postgres will silently allow preset ID insertions ... but it will not update the sequence value. This PR simply adds a little step to the end of the v210 migration to update the sequence number. Users who have already migrated who find that they cannot insert new webauthn_credentials into the DB can either run: ```bash gitea doctor recreate-table webauthn_credential ``` or ```bash SELECT setval('webauthn_credential_id_seq', COALESCE((SELECT MAX(id)+1 FROM `webauthn_credential`), 1), false) ``` which will fix the bad sequence. Fix #19012 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> |
3 years ago | |
---|---|---|
.. | ||
advanced | 3 years ago | |
developers | 3 years ago | |
features | 3 years ago | |
help | 3 years ago | |
installation | 3 years ago | |
translation | 4 years ago | |
upgrade | 3 years ago | |
usage | 3 years ago | |
advanced.en-us.md | 7 years ago | |
advanced.fr-fr.md | 7 years ago | |
advanced.zh-cn.md | 7 years ago | |
advanced.zh-tw.md | 4 years ago | |
developers.en-us.md | 4 years ago | |
developers.zh-cn.md | 3 years ago | |
developers.zh-tw.md | 4 years ago | |
features.en-us.md | 7 years ago | |
features.zh-cn.md | 7 years ago | |
features.zh-tw.md | 7 years ago | |
help.en-us.md | 5 years ago | |
help.fr-fr.md | 5 years ago | |
help.zh-cn.md | 5 years ago | |
help.zh-tw.md | 4 years ago | |
installation.en-us.md | 7 years ago | |
installation.fr-fr.md | 7 years ago | |
installation.zh-cn.md | 7 years ago | |
installation.zh-tw.md | 7 years ago | |
translation.de-de.md | 4 years ago | |
translation.en-us.md | 4 years ago | |
translation.zh-tw.md | 4 years ago | |
upgrade.en-us.md | 7 years ago | |
upgrade.fr-fr.md | 7 years ago | |
upgrade.zh-cn.md | 7 years ago | |
upgrade.zh-tw.md | 7 years ago | |
usage.en-us.md | 7 years ago | |
usage.zh-cn.md | 6 years ago | |
usage.zh-tw.md | 4 years ago |