chore: drop songstats_backfill_queue (chat#1987)

SW
2mo ago
+4-0

Item 3 of chat#1987. One migration: drop table if exists public.songstats_backfill_queue;

Merge only after the api Songstats-removal PR is on prod — until then api/lib/supabase/songstats_backfill_queue/ and the daily playcount-maintenance cron still read and write it. State at 2026-08-27: 868 failed / 70 pending / 148 done rows, last update 2026-07-08; nothing else references the table (grep across api, app, tasks).

After merge: regenerate database.types.ts in api and app (pnpm update-types, run by Patrick) so the songstats_backfill_queue type disappears.

🤖 Generated with Claude Code

https://claude.ai/code/session_012PS8hmiwR1rGD6c41n6gD8


Summary by cubic

Drops the unused songstats_backfill_queue table as part of removing the Songstats provider and its deep-backfill workflow (chat#1987).

  • Merge only after the api Songstats-removal PR is on prod; the api and the daily playcount-maintenance cron still read and write the table until then.
  • Regenerate database.types.ts in api and app after merge so the songstats_backfill_queue type disappears.

Summary by CodeRabbit

  • Chores
    • Removed the obsolete Songstats backfill queue as part of retiring the legacy deep backfill workflow.