v0.6.0
Fixed
- Fresh install crash-loop: new installations failed on first boot with
relation "tracks" does not exist(PostgreSQL) or anALTER TABLE ... IF NOT EXISTSsyntax error (SQLite) — the Alembic chain never creates the initial schema and thecreate_allstartup fallback was removed in an earlier refactor. The container entrypoint now runs a dedicated bootstrap (app.db.bootstrap): an empty database gets the full schema viacreate_all+alembic stamp head, an existing database keeps the regularalembic upgrade headpath, and an inconsistent schema (alembic_versionpresent but notracks) is refused with a clear error instead of being silently overwritten. Plainpostgresql://URLs are normalized to the async driver. Covered by regression tests.
Existing installations are unaffected — they keep the standard migration path. No action required; pull the new images and restart.
Full Changelog: v0.5.9...v0.6.0
🤖 Generated with Claude Code