From 474074480abf4c4e123e843c74653530f66bde76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 12 Jun 2026 10:41:39 +0200 Subject: [PATCH] Seed enrichment_attempts in common third party e2e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The enrichment_attempts column dropped its default after backfill, so inserts must supply it explicitly. The e2e seed helper omitted the column and tripped the NOT NULL constraint, failing TestThirdParty_ImportFromCommon and TestCommonThirdParties_QueryWithLogo. Set it to 0 in the seed insert. Signed-off-by: Émile Ré --- e2e/console/common_third_party_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/console/common_third_party_test.go b/e2e/console/common_third_party_test.go index 830f06bc9..b94ded545 100644 --- a/e2e/console/common_third_party_test.go +++ b/e2e/console/common_third_party_test.go @@ -80,11 +80,11 @@ func seedCommonThirdParty(t *testing.T, name string) gid.GID { _, err := conn.Exec(ctx, ` INSERT INTO common_third_parties ( - id, name, slug, category, certifications, created_at, updated_at + id, name, slug, category, certifications, enrichment_attempts, created_at, updated_at ) VALUES ( - $1, $2, $3, $4, $5, $6, $7 + $1, $2, $3, $4, $5, $6, $7, $8 ) - `, id, name, slug, "OTHER", []string{}, now, now) + `, id, name, slug, "OTHER", []string{}, 0, now, now) require.NoError(t, err) t.Cleanup(func() {