Files
AudiOhm/backend/fix_completed_column.sql
root 801e6a050b prod: UI Optimisée mise en production
- 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>
2026-01-20 09:56:39 +00:00

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';