Move database work off the main thread on Node.js 24 and improve message handling and runtime diagnostics.
Preserve migration, restart, and concurrency coverage with the async SQLite driver.
Speed up unfinished history migration while preserving all messages and
existing processing limits.
Keep migration diagnostics under the configured logging policy and surface
preparation failures.
Fixes#462
Preserve message history and the media information needed for reliable
forwarding. Retain available older data during upgrades and report storage
failures explicitly.
Fixes#462