From 8f17db268aa7e51e286962d4286e449f677fe96f Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 5 Oct 2026 18:44:52 +0200 Subject: [PATCH] Renumber the migration to 0059: main took 0058 (hq ADR 0218) --- ...at-a-change-replaces.sql => 0059-what-a-change-replaces.sql} | 0 internal/inventory/unseen.go | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename internal/inventory/migrations/{0057-what-a-change-replaces.sql => 0059-what-a-change-replaces.sql} (100%) diff --git a/internal/inventory/migrations/0057-what-a-change-replaces.sql b/internal/inventory/migrations/0059-what-a-change-replaces.sql similarity index 100% rename from internal/inventory/migrations/0057-what-a-change-replaces.sql rename to internal/inventory/migrations/0059-what-a-change-replaces.sql diff --git a/internal/inventory/unseen.go b/internal/inventory/unseen.go index b28b60c..59d4b3b 100644 --- a/internal/inventory/unseen.go +++ b/internal/inventory/unseen.go @@ -100,7 +100,7 @@ func (i *Inventory) layerNode(ctx context.Context, nodeName string) (*string, er return &n.ID, nil } -// RecordSentSummary keeps what a machine was last sent, summarised (migration 0057): read only to +// RecordSentSummary keeps what a machine was last sent, summarised (migration 0059): read only to // compare what would be sent with it, never as what the machine should be. func (i *Inventory) RecordSentSummary(ctx context.Context, node string, summary []byte) error { _, err := i.store.Pool().Exec(ctx, `update node set sent_summary = $2 where id = $1`, node, summary)