modcomms/backend/app/models
michael 1601622e07 Fix SpecVersion/ProcessingJob circular relationship direction error
Remove bidirectional back_populates between SpecVersion and ProcessingJob
since both sides have FKs to each other (circular), causing SQLAlchemy to
see both as MANYTOONE. ProcessingJob.spec_version is now a standalone
relationship with explicit foreign_keys. SpecVersion no longer has a
reverse relationship to ProcessingJob (not needed for any queries).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 15:42:35 -06:00
..
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
database.py permissions changes 2025-12-18 16:51:27 +00:00
models.py Fix SpecVersion/ProcessingJob circular relationship direction error 2026-02-12 15:42:35 -06:00
schemas.py Implement revision-aware proof analysis pipeline 2026-01-25 10:04:16 -06:00