From b941325a0cba41fc0aaa5aaa1d06390b95d26805 Mon Sep 17 00:00:00 2001 From: kim Date: Wed, 8 Jan 2025 23:40:51 +0000 Subject: [PATCH] actually update by the currently set status ID field :facepalm: --- .../db/bundb/migrations/20250106165529_cleanup_dropped_edits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go b/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go index ae2d4ac59..cdc5db632 100644 --- a/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go +++ b/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go @@ -117,7 +117,7 @@ func init() { Column("edits"). Where("? = ?", bun.Ident("id"), - status.ID, + edit.StatusID, ). Exec(ctx); err != nil { return fmt.Errorf("error updating status.edits: %w", err)