From 660fe0df66f96d164010ea56e56c73ac854ad32e Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 6 Jan 2025 16:05:06 +0000 Subject: [PATCH] fix log to logf call --- .../20250106114512_replace_statuses_updatedat_with_editedat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go b/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go index 6a83e83ff..fa28c7ce3 100644 --- a/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go +++ b/internal/db/bundb/migrations/20250106114512_replace_statuses_updatedat_with_editedat.go @@ -78,7 +78,7 @@ func init() { } count, _ := res.RowsAffected() - log.Info(ctx, "updated %d statuses", count) + log.Infof(ctx, "updated %d statuses", count) log.Info(ctx, "removing statuses.updated_at column...") _, err = tx.NewDropColumn().Model((*oldmodel.Status)(nil)).