0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-09-28 05:14:11 -04:00

Refactor db package (#35380)

Remove unnecessary code
This commit is contained in:
wxiaoguang
2025-08-30 01:04:06 +08:00
committed by GitHub
parent aef4a3514c
commit 1f50048ac9
11 changed files with 37 additions and 52 deletions

View File

@@ -70,7 +70,7 @@ func TestPrimaryKeys(t *testing.T) {
}
for _, bean := range beans {
table, err := db.TableInfo(bean)
table, err := db.GetXORMEngineForTesting().TableInfo(bean)
if err != nil {
t.Fatal(err)
}