Add unique index for project_issue to prevent duplicate data (#30190)

Fix #27639
This commit is contained in:
Lunny Xiao 2024-04-02 16:02:05 +08:00 committed by GitHub
parent 8a5c597c1d
commit b482567059
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 133 additions and 0 deletions

View file

@ -0,0 +1,14 @@
// Copyright 2024 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package v1_23 //nolint
import (
"testing"
"code.gitea.io/gitea/models/migrations/base"
)
func TestMain(m *testing.M) {
base.MainTest(m)
}