7eec6758

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Let SQLite assign media IDs on import (#235)

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>

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/235
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux