Bri-Tunes/db/migrations
Brian Fertig 5394e0cef4 feat: replace ID-based URLs with slugs for songs and playlists
- Add `slug` column to `songs` and `playlists` tables via migrations 005 & 006
- Implement slug generation logic (lowercase, hyphenated, unique) in both services
- Backfill existing rows with auto-generated slugs on startup
- Update public routes to use `/songs/:slug` and `/playlists/:slug`
- Replace all view templates to link using slugs instead of numeric IDs
2026-04-11 08:14:27 -06:00
..
001_init.sql first commit 2026-04-09 18:41:01 -06:00
002_visibility.sql feat: implement three-tier visibility system for songs and playlists 2026-04-09 22:40:18 -06:00
003_email_verification.sql feat: add email verification flow with SMTP support 2026-04-09 22:48:38 -06:00
004_user_disabled.sql ``` 2026-04-10 20:32:57 -06:00
005_playlist_slug.sql feat: replace ID-based URLs with slugs for songs and playlists 2026-04-11 08:14:27 -06:00
006_song_slug.sql feat: replace ID-based URLs with slugs for songs and playlists 2026-04-11 08:14:27 -06:00