Fix config version update in migrate command

- Save updated config with current version (fixes GH #193)
- Update version field when loading existing config
- Database version now stays in sync with binary version

Amp-Thread-ID: https://ampcode.com/threads/T-dfacc972-f6c8-4bb3-8997-faa079b5d070
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Steve Yegge
2025-11-02 12:55:53 -08:00
parent 7d6d64d2c1
commit 0cfe741553
2 changed files with 14 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
{
"database": "beads.db",
"version": "0.21.0",
"version": "0.21.3",
"jsonl_export": "beads.jsonl"
}