e14625ed

Author: Michael Lynch <git@mtlynch.io>

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

Let SQLite assign media IDs (#232)

CreateMediaItem now relies on SQLite's INTEGER PRIMARY KEY allocation instead of computing MAX(id) + 1 in application code. Lower the media ID minimum to 1 so SQLite's first generated row ID is valid, and update TinyBeans import tests to start from the shared minimum.

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