ERD_INDEXERS.md defines per-table Notes with validation rules, computed fields,
and invariants that must be enforced in the schema or stored procedures.
The Phase 2 checklist requires verifying these notes against migrations/procs.
Decision:
Verified schema-level invariants (generated columns, one-of constraints, ranges,
and lowercase checks) across indexer tables and attribute tables.
Verified procedure-level enforcement for tag immutability, policy set cardinality
and linkage rules, policy rule validation, search request validation, and
canonical disambiguation ordering.
Consequences:
Positive: DB constraints and stored procedures align with ERD Notes for validation
and computed-field invariants.
Risk: runtime behaviors described in Notes (e.g., Torznab endpoints, import runner
mapping) remain tracked in later phases and are not part of this schema validation.
Follow-up:
Continue Phase 5–12 items for runtime behaviors and API surfaces.