From 88ea60cd4db985d015f4839c4d876e6d4037da95 Mon Sep 17 00:00:00 2001 From: Matthew Meszaros Date: Wed, 9 Sep 2026 09:07:26 -0700 Subject: [PATCH] feat: renumber the custom-domain TLS lookup indexes to 000144 after main landed 000143 for campaign lead senders, because two migrations sharing a version stop golang-migrate before either runs --- ...lookup.down.sql => 000144_custom_domain_tls_lookup.down.sql} | 0 ...tls_lookup.up.sql => 000144_custom_domain_tls_lookup.up.sql} | 0 internal/repository/pg_custom_domain.go | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename internal/infrastructure/db/migrations/{000143_custom_domain_tls_lookup.down.sql => 000144_custom_domain_tls_lookup.down.sql} (100%) rename internal/infrastructure/db/migrations/{000143_custom_domain_tls_lookup.up.sql => 000144_custom_domain_tls_lookup.up.sql} (100%) diff --git a/internal/infrastructure/db/migrations/000143_custom_domain_tls_lookup.down.sql b/internal/infrastructure/db/migrations/000144_custom_domain_tls_lookup.down.sql similarity index 100% rename from internal/infrastructure/db/migrations/000143_custom_domain_tls_lookup.down.sql rename to internal/infrastructure/db/migrations/000144_custom_domain_tls_lookup.down.sql diff --git a/internal/infrastructure/db/migrations/000143_custom_domain_tls_lookup.up.sql b/internal/infrastructure/db/migrations/000144_custom_domain_tls_lookup.up.sql similarity index 100% rename from internal/infrastructure/db/migrations/000143_custom_domain_tls_lookup.up.sql rename to internal/infrastructure/db/migrations/000144_custom_domain_tls_lookup.up.sql diff --git a/internal/repository/pg_custom_domain.go b/internal/repository/pg_custom_domain.go index 76115007..38c7d7f8 100644 --- a/internal/repository/pg_custom_domain.go +++ b/internal/repository/pg_custom_domain.go @@ -29,7 +29,7 @@ func NewCustomDomainRepository(db *pgxpool.Pool) CustomDomainRepository { // domain that has not passed it is never built into a link, which makes it a // name nothing legitimate will ever ask for. // -// Each arm is a partial-index hit (migration 000143) and the query stops at +// Each arm is a partial-index hit (migration 000144) and the query stops at // the first match. func (r *customDomainRepository) IsVerified(ctx context.Context, host string) (bool, error) { if host == "" {