Fix history too

This commit is contained in:
Yiorgis Gozadinos 2026-02-20 19:14:48 +02:00
parent 388e94ae80
commit b23f99af06
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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: