Two new tables, created on first start (no migration):
mlg_files (one row per file received, deduped by name + sha256) and
mlg_records (one row per log record, unique on serial, start, stop,
flag word and trigger source; COALESCE on the stop, since an open
record's NULL stop is distinct to a UNIQUE constraint). The text is not
part of a record's identity: Blastware writes it, and two copies of the
same records differ there. WaveformStore.save_mlg keeps the original
file byte for byte under <serial>/mlg/.
Operational consequence: two new tables on first start; no migration,
no backfill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1