mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-23 14:46:21 +00:00
fix migration
This commit is contained in:
parent
8708a4ba39
commit
ec4db4da65
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@ var removeRepoScm = xormigrate.Migration{
|
|||
ID: "remove-repo-scm",
|
||||
MigrateSession: func(sess *xorm.Session) (err error) {
|
||||
type repos struct {
|
||||
SCMKind string `xorm:"varchar(50) 'repo_scm'"`
|
||||
SCMKind string `xorm:"varchar(50) 'scm'"`
|
||||
}
|
||||
|
||||
// ensure columns to drop exist
|
||||
|
|
|
@ -47,6 +47,7 @@ var migrationTasks = []*xormigrate.Migration{
|
|||
&addCustomLabelsToAgent,
|
||||
&splitTrusted,
|
||||
&correctPotentialCorruptOrgsUsersRelation,
|
||||
&removeRepoScm,
|
||||
}
|
||||
|
||||
var allBeans = []any{
|
||||
|
|
Loading…
Reference in a new issue