Files
buzz/desktop/src-tauri
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 040af53286 test(store-journal): add migration failure does not advance version test
Apply PRAGMA query_only=ON on a v2 in-memory connection before calling
apply_journal_schema_pub: ALTER TABLE fails, the transaction rolls back,
and user_version stays at 2. Disabling query_only and retrying succeeds
with all three columns present and version 4 -- proving the retry path.

Also corrects the false doc comment on test_schema_migration_idempotent_on_v4
(was incorrectly claiming in-memory DBs cannot be made read-only via
query_only; restated as a straightforward idempotency check).

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-04 18:24:37 -04:00
..