-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
Description
br 0.1.20 fails with DATABASE_ERROR when running br list on databases created with older versions of br (e.g. 0.1.14). The error does not occur with br 0.1.14.
Error
{
"error": {
"code": "DATABASE_ERROR",
"message": "Database error: internal error: no such column: source_system in table issues",
"hint": null,
"retryable": false,
"context": null
}
}Reproduction
- Create a workspace with
br 0.1.14and add some issues - Upgrade to
br 0.1.20 - Run
br listin that workspace → DATABASE_ERROR
Investigation
- The
source_systemcolumn does exist in theissuestable (verified viaPRAGMA table_info(issues)and directSELECT source_system FROM issues LIMIT 1) br doctorpasses all checks includingschema.columnsandsqlite.integrity_check- The error is specific to
br list(and likely other commands that read issues) - The issue appears related to the
fsqliteupdate in 0.1.20 — databases created with older br versions have a different column order in theissuestable
Affected commands
br list- Likely any command that queries the
issuestable via fsqlite
Workaround
Downgrade to br 0.1.14:
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/beads_rust/main/install.sh | bash -s -- --version v0.1.14Environment
- macOS ARM64 (Apple Silicon)
- br 0.1.20 (darwin_arm64)
- Database created with br 0.1.14
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels