Implements SharedTableProtocol against a ThreadedConnectionPool (psycopg2). SnipeSharedDB handles pool lifecycle and idempotent SQL migrations. save_sellers uses COALESCE to preserve existing account_age_days when the new record omits it. All 6 Postgres tests skip cleanly without SNIPE_SHARED_DB_URL. |
||
|---|---|---|
| .. | ||
| migrations | ||
| pg_migrations | ||
| __init__.py | ||
| models.py | ||
| pg_shared.py | ||
| protocol.py | ||
| store.py | ||