DocsAutoResponderProcess

Hodor database schema (reference)#

Purpose: Stable notes for the prospect/contact SQL backend used by HodorDatabase. For connector behavior and modes, see connections/hodor.html.

Discovery: Run from the repo root (credentials in .env) to print live table/column metadata and env-var hints:

bash
python scripts/discover_hodor_schema.py

Typical deployment (CBI_MACH / dbo.pros)#

The pipeline is often pointed at CBI_MACH with the dbo.pros contact table. Names and tables are overridable via settings in config.py (e.g. HODOR_CONTACT_TABLE, HODOR_ID_COLUMN, HODOR_EMAIL_COLUMN, and related HODOR_* fields).

TopicDetail
Primary keyInteger prospect id (e.g. pros-num) — column name configurable
Common columnsEmail, name, firm, title, location, phone, active/inactive flags — exact names via HODOR_*_COLUMN
Library / list codesUsually from dbo.src (prospect id + source + library code), not from a column on pros alone
Global suppressionsOptional: dbo.CBITBL_GlobalUnsubscribes (email list) when used in your environment

Treat row counts, server hostnames, and non-public identifiers as environment-specific; do not commit secrets or production-only dumps into this file.


Configuration surface#