system-prompts-and-models-o.../salesflow-saas/backend
Claude 6d797dc0d2
fix: root cause — sqlite_patch not applied when DATABASE_URL empty
Root cause: sqlite_patch checked `if "sqlite" in db_url` but db_url
was empty string when DATABASE_URL env var not set. Patch was skipped,
then models used PostgreSQL types (JSONB/Vector) with SQLite compiler
causing crash: "can't render element of type JSONB".

Fix: `if not db_url or "sqlite" in db_url` — apply patch when URL
is empty (defaults to SQLite anyway in database.py).

Also:
- Dockerfile: add libxml2/libxslt1.1 for lxml runtime
- Dockerfile: increase healthcheck start-period to 120s
- start.sh: log DATABASE_URL prefix for debugging

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 01:16:57 +00:00
..
alembic feat(dealix): close ALL 4 Tier-1 runtime gaps (Programs E, F, G, K, J) 2026-04-17 10:12:04 +00:00
app fix: root cause — sqlite_patch not applied when DATABASE_URL empty 2026-04-26 01:16:57 +00:00
knowledge_base 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
scripts feat: complete revenue package — 20 drafts + pilot plan + demo script + playbook 2026-04-25 23:16:15 +00:00
tests feat(dealix): follow-ups + outreach stats + 14 automation tests (40/40 pass) 2026-04-25 17:44:02 +00:00
.env.phase2.example chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
alembic.ini Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
campaign_results.json 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
Dockerfile fix: root cause — sqlite_patch not applied when DATABASE_URL empty 2026-04-26 01:16:57 +00:00
main.py feat(intelligence): Revenue Intelligence OS — Lead Machine complete 2026-04-20 06:35:59 +00:00
pyproject.toml feat(dealix): execute ALL automatable blueprint tasks 2026-04-17 10:39:21 +00:00
pytest.ini fix(ci): restore pytest.ini to match passing commit + clean CI YAML 2026-04-17 05:54:32 +00:00
railway.toml fix(railway): healthcheck path + dynamic PORT + start.sh wrapper 2026-04-25 19:38:32 +00:00
README_DEPLOY.md chore: trigger Railway rebuild after root directory fix 2026-04-26 00:53:55 +00:00
requirements-dev.txt fix(ci): pin pytest==8.3.4 + pytest-asyncio==0.24.0 exact versions 2026-04-17 05:02:44 +00:00
requirements.txt fix: remove 18 unused heavy deps — Docker image ~4GB → ~800MB 2026-04-26 00:20:43 +00:00
seed_database.py 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
start.sh fix: root cause — sqlite_patch not applied when DATABASE_URL empty 2026-04-26 01:16:57 +00:00
update_requirements.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00