From ec9e6cfcc752e85c1011cbc5dd88502d13f8451b Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 20 Jul 2026 13:13:46 +0200 Subject: [PATCH] fix(mage): scaffold new migrations with partialSync address pr-swarm finding: the make-migration template still emitted plain tx.Sync, regenerating the index-wipe pattern for the next contributor --- magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index f0b614b72..496328d1c 100644 --- a/magefile.go +++ b/magefile.go @@ -1184,7 +1184,7 @@ func init() { ID: "` + date + `", Description: "", Migrate: func(tx *xorm.Engine) error { - return tx.Sync(` + str + date + `{}) + return partialSync(tx, ` + str + date + `{}) }, Rollback: func(tx *xorm.Engine) error { return nil