Files
Scrobbler/deploy/postgres/init-test-db.sql
mattandClaude Opus 5.5 98c8f2e824
CI / lint (push) Successful in 9s
CI / test (push) Failing after 22s
CI / notify (push) Successful in 5s
App factory, data model, initial migration and HTTP metrics
- Flask app factory with env-driven config (.env loaded at import)
- SQLAlchemy models: users, API apps, UI tokens, Last.fm auth tokens,
  sessions, scrobbles (deduplicated) and now-playing
- Initial Alembic migration; CI checks migrations match the models
- Prometheus metric definitions, per-endpoint RED hooks with bounded
  labels, and a standalone metrics server
- docker compose Postgres with a test database; CI test job runs
  against a Postgres service container

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 13:55:04 +01:00

3 lines
104 B
SQL

-- Runs once when the Postgres volume is first created.
CREATE DATABASE scrobbler_test OWNER scrobbler;