stash/src
NotAShelf d40b547c07
db: add is_expired column and implement vacuum/stats commands
Migrates schema to v5; `is_expired` column is added with partial index
and `include_expired` parameter to `list_entries()` and `list_json()`
methods. Also adds `vacuum()` and `stats()` methods for SQlite
"administration", and removes `next_sequence()` from trait and impl.

This has been a valuable addition to stash, as the database is now *less
abstract* in the sense that user is made aware of its presence (stash
wipe -> stash db wipe) and can modify it.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icfab67753d7f18e3798c0a930b16d05e6a6a6964
2026-01-22 16:56:41 +03:00
..
commands watch: implement expiration queue w/ sub-second precision 2026-01-22 16:56:39 +03:00
db db: add is_expired column and implement vacuum/stats commands 2026-01-22 16:56:41 +03:00
multicall multicall: auto-select MIME type more intelligently when not specified 2025-12-23 10:11:28 +03:00
wayland db: rewrite migration with transactional schema versioning 2026-01-22 13:41:58 +03:00
main.rs cli: add --expire-after flag to watch and --expired flag to list 2026-01-22 16:56:40 +03:00