From fe0a7fac3ece7123c8c7de6413d22835cb3f78be Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Mon, 4 May 2026 18:04:49 +0000 Subject: [PATCH] fix: strip PostgreSQL server_default from email_inbound_token for SQLite tests --- tests/test_pipeline/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pipeline/conftest.py b/tests/test_pipeline/conftest.py index 84fa41d..baf38bd 100644 --- a/tests/test_pipeline/conftest.py +++ b/tests/test_pipeline/conftest.py @@ -25,6 +25,7 @@ def _populate_email_inbound_token(mapper, connection, target): def engine(): """In-memory SQLite engine for unit tests.""" eng = create_engine("sqlite:///:memory:") + User.__table__.c.email_inbound_token.server_default = None Base.metadata.create_all(eng) yield eng eng.dispose()