]> source.dussan.org Git - gitea.git/commit
Add Index to `comment.dependent_issue_id` (#27325) (#27340)
authorGiteabot <teabot@gitea.io>
Fri, 29 Sep 2023 02:00:14 +0000 (10:00 +0800)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 02:00:14 +0000 (02:00 +0000)
commit7ea7f2b37f746922fe45c2418827e99a9a3041a7
tree2bee6d175dd017b368840a785d301d4d5bbaa448
parentc61b9c5f3c533e34066d0a6b072d42f09cecf2ac
Add Index to `comment.dependent_issue_id` (#27325) (#27340)

Backport #27325 by @JakobDev

This Column is missing index. It is used by
[issue_service.deleteIssue](https://github.com/go-gitea/gitea/blob/7ea2a910cebaf51cfd13c0941029c404e408ae54/services/issue/issue.go#L300).

Co-authored-by: JakobDev <jakobdev@gmx.de>
models/issues/comment.go
models/migrations/migrations.go
models/migrations/v1_21/v278.go [new file with mode: 0644]