mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-28 12:00:01 +02:00
migrations: sync table first
This commit is contained in:
parent
bb359a74f1
commit
37305a59ca
2 changed files with 9 additions and 3 deletions
|
@ -245,7 +245,7 @@ func issueToIssueLabel(x *xorm.Engine) error {
|
|||
}
|
||||
|
||||
if err = sess.Sync2(new(IssueLabel)); err != nil {
|
||||
return fmt.Errorf("sync2: %v", err)
|
||||
return fmt.Errorf("Sync2: %v", err)
|
||||
} else if _, err = sess.Insert(issueLabels); err != nil {
|
||||
return fmt.Errorf("insert issue-labels: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue