1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/models/migrations/v1_21/v269.go
yp05327 74ca4377ff
Drop the correct deleted branch table ()
There's a typo in 
The correct table name is `deleted_branch` not `deleted_branches`
2023-07-26 08:41:33 +08:00

13 lines
236 B
Go

// Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package v1_21 //nolint
import (
"xorm.io/xorm"
)
func DropDeletedBranchTable(x *xorm.Engine) error {
return x.DropTables("deleted_branch")
}