Fix history too
This commit is contained in:
parent
388e94ae80
commit
b23f99af06
2 changed files with 9 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
### Fixed
|
||||
|
||||
- **`info` command**: Open database in read-only mode to prevent write failures on read-only filesystems
|
||||
- **`info` and `history` commands**: Open database in read-only mode to prevent write failures on read-only filesystems
|
||||
|
||||
## [0.31.0] - 2026-02-20
|
||||
|
||||
|
|
|
|||
|
|
@ -205,7 +205,14 @@ class HaikuRAGApp: # pragma: no cover
|
|||
self.console.print("[red]Database path does not exist.[/red]")
|
||||
return
|
||||
|
||||
store = Store(self.db_path, config=self.config, skip_validation=True)
|
||||
store = Store(
|
||||
self.db_path,
|
||||
config=self.config,
|
||||
skip_validation=True,
|
||||
read_only=True,
|
||||
skip_migration_check=True,
|
||||
before=self.before,
|
||||
)
|
||||
|
||||
tables = ["documents", "chunks", "settings"]
|
||||
if table:
|
||||
|
|
|
|||
Loading…
Reference in a new issue