Fix doctor --run check-db-consistency --fix with label fix #16094

Merged
lunny merged 3 commits from lunny/fix_pr_labels into main 2021-06-08 04:36:23 +00:00
Owner

When run ./gitea doctor --run check-db-consistency --fix with mysql instance, the delete SQL is wrong. This PR changed the check and fix SQL for label and issue_label table.

When run `./gitea doctor --run check-db-consistency --fix` with mysql instance, the delete SQL is wrong. This PR changed the check and fix SQL for label and issue_label table.
lafriks (Migrated from github.com) approved these changes 2021-06-07 08:26:35 +00:00
zeripath approved these changes 2021-06-07 21:45:19 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#16094
No description provided.