mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 01:40:36 +00:00
Rename misnamed migration (#1867)
This commit is contained in:
parent
817a405118
commit
3e74b5cf51
1 changed files with 0 additions and 12 deletions
|
@ -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 a new issue