- Fixes GH #201 - bd migrate now detects prefix from existing issues - Sets issue_prefix config before schema version update - Prevents 'no issue found' errors after migration - Prevents incorrect prefix in hash ID migrations When migrating pre-0.17.5 databases, the issue_prefix config (required since bd-166) was not being set. This caused commands like 'bd show' to fail with 'no issue found' errors. The fix queries for existing issues after migration and extracts the prefix using utils.ExtractIssuePrefix(), then sets the config before continuing with version updates. Amp-Thread-ID: https://ampcode.com/threads/T-ba0c6c5c-8812-4ecf-8576-c0870fdbefff Co-authored-by: Amp <amp@ampcode.com>
18 KiB
18 KiB