diff options
| author | Dax Raad <[email protected]> | 2026-02-14 20:35:43 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-02-14 20:37:17 -0500 |
| commit | 2bab5e8c39f4ed70dbfe6d971728d8d899b88e4f (patch) | |
| tree | ee11d5cd1a8c9144ffb97dee81046effe0ad654a /packages/function | |
| parent | 85b5f5b705e8f7852184a4ef147bdc826639d224 (diff) | |
| download | opencode-2bab5e8c39f4ed70dbfe6d971728d8d899b88e4f.tar.gz opencode-2bab5e8c39f4ed70dbfe6d971728d8d899b88e4f.zip | |
fix: derive all IDs from file paths during json migration
Earlier migrations moved data to new directories without updating JSON
fields. Now consistently derives all IDs from file paths:
- Projects: id from filename
- Sessions: id from filename, projectID from parent directory
- Messages: id from filename, sessionID from parent directory
- Parts: id from filename, messageID from parent directory
This ensures migrated data matches the actual file layout regardless of
stale values in JSON content.
Diffstat (limited to 'packages/function')
0 files changed, 0 insertions, 0 deletions
