diff options
author | zeripath <art27@cantab.net> | 2021-09-27 18:30:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 18:30:11 +0100 |
commit | 4b8b2141084721ef87698dc4fb85e8491c5f8d7a (patch) | |
tree | f5573bd5dab41ecae550d381fdd1cd9030e749a8 /models/access.go | |
parent | ebae7e1512ea3c174a820a1e8dda2b5afc1d6175 (diff) | |
download | gitea-4b8b2141084721ef87698dc4fb85e8491c5f8d7a.tar.gz gitea-4b8b2141084721ef87698dc4fb85e8491c5f8d7a.zip |
Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) (#17137)
Backport #17136
There was a serious issue with the `gitea dump` command in 1.14.3-1.14.6 which led to corruption of the `config` field of the `repo_unit` table.
This PR adds a doctor command to attempt to fix the broken repo_units. Users affected by #16961 should run:
```
gitea doctor --fix --run fix-broken-repo-units
```
Fix #16961
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'models/access.go')
0 files changed, 0 insertions, 0 deletions