- Add `generation_cooldown_seconds` column to `site_settings` (default 180s) - Add `is_vip` column to `users` table (default 0/false) - Introduce new `requireVip` middleware for enforcing VIP-only routes - Restrict song generation access to VIP users or admins - Add admin UI endpoints to grant/remove VIP status per user - Allow admins to configure generation cooldown period via admin panel - Update generation service to use dynamic cooldown (replacing hardcoded 3 minutes) - Enhance generate page UI with Re-Gen button, improved placeholder text, and rate-limit state updates - Update header navigation to show "My Music" and "Generate" only for VIP/admin users |
||
|---|---|---|
| .. | ||
| 001_init.sql | ||
| 002_visibility.sql | ||
| 003_email_verification.sql | ||
| 004_user_disabled.sql | ||
| 005_playlist_slug.sql | ||
| 006_song_slug.sql | ||
| 007_social.sql | ||
| 008_user_avatar.sql | ||
| 009_user_slug.sql | ||
| 010_notifications.sql | ||
| 011_generation.sql | ||
| 012_generation_cooldown.sql | ||
| 013_vip.sql | ||