feat(sql): migrate intelligence, monitor, and referrals to SQLAlchemy #4

Merged
cryptorugmunch merged 2 commits from feat/sql-migration-top3 into main 2026-07-03 01:29:59 +02:00

2 commits

Author SHA1 Message Date
232dc16924 feat(sql): migrate intelligence, monitor, and referrals to SQLAlchemy
All checks were successful
CI / lint (pull_request) Successful in 59s
CI / typecheck (pull_request) Successful in 7m34s
CI / Secret scan (gitleaks) (pull_request) Successful in 1m59s
CI / test (pull_request) Successful in 8m59s
CI / Security audit (bandit) (pull_request) Successful in 1m3s
- intelligence.py: IntelSnapshot table, JSONL replaced with queries.
- monitor.py: Monitor + MonitorRun tables, JSON files replaced.
- structure_monitor.py: StructureSnapshot table for selector history.
- referrals.py: ReferralClick + ReferralConversion + ReferralInAppUsage tables.
- db.py: extended models and import_json_stores for the three domains.
- Added/updated tests: 475 passing.
2026-07-03 01:25:14 +02:00
2c2fbc3052 feat(db): extend models for monitor, structure, and referrals migration 2026-07-03 01:12:06 +02:00