Files
syndarix/backend/app/models/memory/fact.py
Felipe Cardoso 032738c8dd fix(memory): add data integrity constraints to Fact model
- Change source_episode_ids from JSON to JSONB for PostgreSQL consistency
- Add unique constraint for global facts (project_id IS NULL)
- Add CHECK constraint ensuring reinforcement_count >= 1
2026-01-05 17:39:30 +01:00

3.6 KiB