Feat: add makefile target for mac
Some checks failed
Go test / run-go-vet (push) Successful in 5s
Go test / check-swagger-up-to-date (push) Successful in 9s
Go test / run-go-test (push) Failing after 10s
Go test / release-image (push) Has been skipped
Go test / cleanup-go-test (push) Successful in 4s

This commit is contained in:
2025-12-13 01:21:20 +08:00
parent ea88d8fa43
commit 6b5b7d257d
3 changed files with 18 additions and 8 deletions

View File

@@ -192,7 +192,7 @@ func (self *BunDatabase) UpdateAliases(
return err
}
_, err = tx.NewDelete().
Model((*models.AliasImage)).
Model((*models.AliasImage)(nil)).
Where("image_id = ?", imageId).
Exec(ctx)
if err != nil {