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)