0dde5ad7

By: Michael Lynch <git@mtlynch.io>

Let SQLite assign media IDs

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.