Bri-Tunes/db/migrations
Brian Fertig 024c3a5e40 feat: add NSFW flag and visibility controls for explicit content
- Add `is_nsfw` column to `songs` and `playlists` tables
- Implement NSFW checkbox in song/playlist upload and edit forms
- Enforce NSFW content visibility: block unauthenticated users from viewing/streaming NSFW songs/playlists
- Filter NSFW content from public-facing lists (recent, popular, liked, etc.) unless user is logged in
- Add VIP-only visibility option for songs/playlists (admin/VIP users only)
- Display "EXPLICIT" badge on NSFW items in UI
- Add CSS styling for NSFW badge
- Update service layer to handle NSFW flag in CRUD operations and queries
2026-04-16 19:55:26 -06:00
..
001_init.sql
…
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
007_social.sql feat: implement social actions (like/favorite) for songs and playlists 2026-04-11 09:12:21 -06:00
008_user_avatar.sql feat: add user avatars with cropping and image lightbox 2026-04-11 10:08:05 -06:00
009_user_slug.sql feat: add user profiles with slugs and enhance now-playing UI 2026-04-11 13:46:12 -06:00
010_notifications.sql feat: implement user notifications system 2026-04-12 11:43:24 -06:00
011_generation.sql feat: add AI song generation via ComfyUI with rate limiting and admin configuration 2026-04-12 17:45:12 -06:00
012_generation_cooldown.sql feat: implement VIP access control and configurable generation cooldown 2026-04-12 19:26:31 -06:00
013_vip.sql feat: implement VIP access control and configurable generation cooldown 2026-04-12 19:26:31 -06:00
014_nsfw.sql feat: add NSFW flag and visibility controls for explicit content 2026-04-16 19:55:26 -06:00