mirror of
https://github.com/zvx-echo6/central.git
synced 2026-05-21 18:14:44 +02:00
fix(tests): remove geom column from test fixture (no PostGIS in test DB)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
98e9d95810
commit
a25b4af4e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue