feat(database): add Playlists, Favorites, PlaybackHistory tables

- Playlists + PlaylistSongs tables with position-ordered join query
- Favorites table with toggle + watch (reactive heart icon support)
- PlaybackHistory table for resume-position tracking
- Schema v2 with migration from v1
- Follows existing Songs/Folders sync-ready pattern (uuid id, updatedAtMs, deleted)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Hermes (Server)
2026-08-18 15:13:44 +02:00
co-authored by Claude Haiku 4.5
parent bc8f3bfe77
commit d09a677315
3 changed files with 3127 additions and 9 deletions
File diff suppressed because it is too large Load Diff