Description
If the ProjectData struct needs to be extended (e.g., adding new fields), there is no migration pattern. Existing projects would not have the new fields, causing inconsistencies.
Recommendation
- Design a versioned storage pattern
- Store a schema version in instance storage
- Implement migration functions that update old data to new format
- Add version checks in all data access functions
Severity
Medium — Critical for long-term maintainability.
Description
If the ProjectData struct needs to be extended (e.g., adding new fields), there is no migration pattern. Existing projects would not have the new fields, causing inconsistencies.
Recommendation
Severity
Medium — Critical for long-term maintainability.