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