1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 14:07:20 +00:00

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
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)
}