gitea source for verification 2026-05-22
This commit is contained in:
14
models/migrations/v1_16/v201.go
Normal file
14
models/migrations/v1_16/v201.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2021 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package v1_16
|
||||
|
||||
import (
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
|
||||
func DropTableRemoteVersion(x *xorm.Engine) error {
|
||||
// drop the orphaned table introduced in `v199`, now the update checker also uses AppState, do not need this table
|
||||
_ = x.DropTables("remote_version")
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user