fix(FN-1879): add roadmaps and project_insights tables to SCHEMA_SQL

- Add roadmaps table for roadmap persistence with id, title, description, timestamps
- Add roadmap_milestones table with FK cascade to roadmaps and orderIndex for deterministic sorting
- Add roadmap_features table with FK cascade to milestones and orderIndex for feature ordering
- Add project_insights table for normalized insight entities with category, status, fingerprint fields
- Add project_insight_runs table for insight-generation run records with trigger, status, counts
- Add covering indexes for milestone/feature ordering and insight filtering by projectId, category, fingerprint
This commit is contained in:
Fusion
2026-04-15 13:21:37 -07:00
committed by gsxdsm
parent 7f972c7535
commit af4df19e94
5 changed files with 116 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": patch
---
Fix "no such table roadmaps" error by adding roadmap and project_insights tables to the initial database schema.