From d998619455c433c8368227b37d13b419e883cb94 Mon Sep 17 00:00:00 2001 From: Matthew Meszaros Date: Tue, 29 Sep 2026 10:53:12 -0700 Subject: [PATCH] feat: renumber the placement batch migration to 000232 after main took 000230 and 000231 for lead CC, and require that version in the batch live tests --- ...t_batches.down.sql => 000232_placement_batches.down.sql} | 0 ...ement_batches.up.sql => 000232_placement_batches.up.sql} | 0 internal/repository/placement_batch_live_test.go | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename internal/infrastructure/db/migrations/{000230_placement_batches.down.sql => 000232_placement_batches.down.sql} (100%) rename internal/infrastructure/db/migrations/{000230_placement_batches.up.sql => 000232_placement_batches.up.sql} (100%) diff --git a/internal/infrastructure/db/migrations/000230_placement_batches.down.sql b/internal/infrastructure/db/migrations/000232_placement_batches.down.sql similarity index 100% rename from internal/infrastructure/db/migrations/000230_placement_batches.down.sql rename to internal/infrastructure/db/migrations/000232_placement_batches.down.sql diff --git a/internal/infrastructure/db/migrations/000230_placement_batches.up.sql b/internal/infrastructure/db/migrations/000232_placement_batches.up.sql similarity index 100% rename from internal/infrastructure/db/migrations/000230_placement_batches.up.sql rename to internal/infrastructure/db/migrations/000232_placement_batches.up.sql diff --git a/internal/repository/placement_batch_live_test.go b/internal/repository/placement_batch_live_test.go index 0a8398f3e..583c492a5 100644 --- a/internal/repository/placement_batch_live_test.go +++ b/internal/repository/placement_batch_live_test.go @@ -18,7 +18,7 @@ import ( func TestLivePlacementBatchLifecycle(t *testing.T) { f := newPlacementFixture(t) handle, pool := liveContactDB(t) - requireSchemaVersion(t, pool, 230) + requireSchemaVersion(t, pool, 232) batches := NewPlacementBatchRepository(handle) ctx := context.Background() now := time.Now() @@ -262,7 +262,7 @@ func TestLivePlacementBatchLifecycle(t *testing.T) { func TestLivePlacementBatchImportedLandsClosed(t *testing.T) { f := newPlacementFixture(t) handle, pool := liveContactDB(t) - requireSchemaVersion(t, pool, 230) + requireSchemaVersion(t, pool, 232) batches := NewPlacementBatchRepository(handle) ctx := context.Background() @@ -309,7 +309,7 @@ func ptrTime(t time.Time) *time.Time { return &t } func TestLivePlacementBatchCancelResolvesRunningSenders(t *testing.T) { f := newPlacementFixture(t) handle, pool := liveContactDB(t) - requireSchemaVersion(t, pool, 230) + requireSchemaVersion(t, pool, 232) batches := NewPlacementBatchRepository(handle) ctx := context.Background()