chore(magefile): use tx.Sync instead of Sync2
This commit is contained in:
parent
72bb6609a1
commit
0d9c03e0f2
|
|
@ -813,7 +813,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…
Reference in New Issue