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: