chore(magefile): use tx.Sync instead of Sync2
(cherry picked from commit 0d9c03e0f264bd80ea75cc62d3a3ba6860f40fea)
This commit is contained in:
@ -793,7 +793,7 @@ func init() {
|
||||
ID: "` + date + `",
|
||||
Description: "",
|
||||
Migrate: func(tx *xorm.Engine) error {
|
||||
return tx.Sync2(` + str + date + `{})
|
||||
return tx.Sync(` + str + date + `{})
|
||||
},
|
||||
Rollback: func(tx *xorm.Engine) error {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user