mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 04:48:25 +00:00 
			
		
		
		
	There's a typo in #22743 The correct table name is `deleted_branch` not `deleted_branches`
		
			
				
	
	
		
			13 lines
		
	
	
		
			236 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			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")
 | 
						|
}
 |