9794c62f

By: Michael Lynch <git@mtlynch.io>

Let SQLite assign media IDs on import

Drop the startID parameter from tinybeans.Convert and the explicit id from
InsertMediaItem so SQLite assigns each media item's primary key. Convert still
orders entries newest-first, so insertion order yields IDs in display order.
InsertMediaItem now returns the assigned ID, which writeMetadataToDB uses to
link each entry's comments and reactions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codeberg
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux