Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 06:16:09 +01:00

Rename misnamed migration (#1867)

This commit is contained in:
Ethan Koenig 2017-06-03 23:09:50 -04:00 committed by Lunny Xiao
parent 817a405118
commit 3e74b5cf51

View file

@ -13,18 +13,6 @@ import (
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
) )
// ActionV34 describes the removed fields
type ActionV34 struct {
ActUserName string `xorm:"-"`
RepoUserName string `xorm:"-"`
RepoName string `xorm:"-"`
}
// TableName will be invoked by XORM to customize the table name
func (*ActionV34) TableName() string {
return "action"
}
func removeActionColumns(x *xorm.Engine) error { func removeActionColumns(x *xorm.Engine) error {
switch { switch {
case setting.UseSQLite3: case setting.UseSQLite3: