Mechanically convert std::unexpected(Api::Error(ErrorCode::X, msg[, src]))
to Api::fail(ErrorCode::X, msg[, src]) across Core. Pure syntax; forwards of
existing errors (std::unexpected(x.error())) are unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
DatabaseImpl now holds a Void::Sqlite::Database (RAII open/close, WAL +
busy-timeout + foreign_keys); the existing raw-sqlite3 query methods borrow
its handle() unchanged. Removes the manual sqlite3_open/close + journal-mode
boilerplate.
Deliberately keeps echoion's schema_migrations migration framework rather
than switching to Void's PRAGMA user_version Migrator: existing databases
record versions in schema_migrations with user_version=0, and migrations
2/3 DROP tables — re-running them would destroy live data. Verified with an
integration test (data survives close+reopen; migrate() stays idempotent).
Link Void::Sqlite.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>