feat: add 12 integrity check saved queries for SQL Explorer (migration 037)
Prefixed with ⚕ for easy identification. Checks: duplicate snapshots, orphaned links, evidence count mismatches, contribution score sums, canonical key consistency, out-of-range values, unmatched snapshots, zero evidence rate, duplicate count mismatches, missing prices, outcome integrity, and pipeline health summary.
This commit is contained in:
@@ -81,7 +81,7 @@ When a full reset is needed:
|
||||
## Database Migrations
|
||||
- Located in `infra/migrations/001_*.sql` through `030_*.sql`
|
||||
- Applied automatically by `runmefirst.sh` in sorted order
|
||||
- Next migration number: **037**
|
||||
- Next migration number: **038**
|
||||
- Key migrations:
|
||||
- 016: Global news interpolation (global_events, macro_impact_records, exposure_profiles, trend_projections)
|
||||
- 017: Competitive intelligence (competitor_relationships, competitive_signal_records)
|
||||
|
||||
Reference in New Issue
Block a user