From 336fd5cb63ad51ab6cf97936ab39238f8b39f1df Mon Sep 17 00:00:00 2001 From: Oskar Otwinowski Date: Thu, 20 Aug 2026 10:31:50 +0200 Subject: [PATCH] fix(clickhouse): renumber the external deployment id migration to 041 040 was already claimed by 040_create_task_events_search_v2.sql (#4615) by the time #4661 landed, so `goose up` panics with "duplicate version 40 detected" while collecting the migration directory and applies nothing. Renumber this one rather than the other: goose keys on the version number and not the filename, so version 40 is already recorded wherever 040 has been applied, and renaming that file would re-run an applied migration. This one has never been applied anywhere, because collection aborts before any SQL runs. --- ...ent_id.sql => 041_add_task_runs_v2_external_deployment_id.sql} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename internal-packages/clickhouse/schema/{040_add_task_runs_v2_external_deployment_id.sql => 041_add_task_runs_v2_external_deployment_id.sql} (100%) diff --git a/internal-packages/clickhouse/schema/040_add_task_runs_v2_external_deployment_id.sql b/internal-packages/clickhouse/schema/041_add_task_runs_v2_external_deployment_id.sql similarity index 100% rename from internal-packages/clickhouse/schema/040_add_task_runs_v2_external_deployment_id.sql rename to internal-packages/clickhouse/schema/041_add_task_runs_v2_external_deployment_id.sql