1
0

chore(magefile): use tx.Sync instead of Sync2

(cherry picked from commit 0d9c03e0f264bd80ea75cc62d3a3ba6860f40fea)
This commit is contained in:
kolaente 2024-09-05 13:08:16 +02:00
parent d508fe3fb8
commit 6da9bc964e
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -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