forked from forgejo/forgejo
[PORT] gitea#30190: Add unique index for project_issue to prevent duplicate data
Fix #27639 --- Remove MSSQL specific code per https://codeberg.org/forgejo/discussions/issues/122 (cherry picked from commit b4825670596fe745cebdcc63a8ead4388602d42c)
This commit is contained in:
parent
efc2f53954
commit
f0004760f6
5 changed files with 124 additions and 0 deletions
14
models/migrations/v1_23/main_test.go
Normal file
14
models/migrations/v1_23/main_test.go
Normal 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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue