mirror of https://github.com/go-gitea/gitea.git
Rename misnamed migration (#1867)
This commit is contained in:
parent
817a405118
commit
3e74b5cf51
|
@ -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:
|
Loading…
Reference in New Issue