music: backup play log from now-playing samples (origin nowplaying; 30 s or half the track, ignoring pauses and seeks); recently-played takes those rows over with its exact timestamp
All checks were successful
Deploy production / deploy (push) Successful in 1m9s

This commit is contained in:
2026-10-25 13:52:38 +00:00
parent d6c5dde2c1
commit df081b8058
8 changed files with 26475 additions and 6 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "music"."plays" DROP CONSTRAINT "plays_origin_check", ADD CONSTRAINT "plays_origin_check" CHECK ("origin" in ('api', 'export', 'import', 'manual', 'nowplaying'));