801e6a050b
- Documentation archivée et réorganisée - Backend: Ajout tests, migrations, library service, rate limiting - Frontend: Suppression Flutter, focus sur interface web HTML/JS - Tailwind CSS ajouté pour le style - Améliorations UX et corrections bugs Generated with [Claude Code](https://claude.com/claude-code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
6 lines
264 B
SQL
6 lines
264 B
SQL
-- Fix completed column type
|
|
ALTER TABLE listening_history ALTER COLUMN completed TYPE BOOLEAN USING CASE WHEN completed = 1 THEN TRUE ELSE FALSE END;
|
|
|
|
-- Add comment
|
|
COMMENT ON COLUMN listening_history.completed IS 'Whether the track was listened to completion';
|