From a25b4af4e8f5426f32a3a7f4ddc41d3ee15ecbd8 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Sun, 17 May 2026 17:40:24 +0000 Subject: [PATCH] fix(tests): remove geom column from test fixture (no PostGIS in test DB) Co-Authored-By: Claude Opus 4.5 --- tests/test_events_adapter_column.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_events_adapter_column.py b/tests/test_events_adapter_column.py index 82ab085..7a22396 100644 --- a/tests/test_events_adapter_column.py +++ b/tests/test_events_adapter_column.py @@ -100,6 +100,7 @@ async def pre_migration_events_table(db_conn: asyncpg.Connection) -> None: await db_conn.execute("DROP TABLE IF EXISTS public.events CASCADE") # Create events table with PRE-MIGRATION schema (has source, no adapter) + # Note: geom column omitted since test DB lacks PostGIS extension await db_conn.execute(""" CREATE TABLE public.events ( id TEXT NOT NULL, @@ -108,7 +109,6 @@ async def pre_migration_events_table(db_conn: asyncpg.Connection) -> None: time TIMESTAMPTZ NOT NULL, expires TIMESTAMPTZ, severity SMALLINT, - geom GEOMETRY(Geometry, 4326), regions TEXT[], primary_region TEXT, payload JSONB NOT NULL,