From 4cb004fa9a89e6e7035387688c3dab241ff32489 Mon Sep 17 00:00:00 2001 From: Arpit Gupta Date: Thu, 7 May 2026 11:33:01 +0530 Subject: [PATCH] chore: drop youtube_tokens table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit YouTube auth fully migrated to Composio in chat#1719 / api#494 — the table is no longer read or written. CASCADE drops the table along with its trigger, indexes, RLS policy, and FK to accounts. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../migrations/20260507000000_drop_youtube_tokens.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 supabase/migrations/20260507000000_drop_youtube_tokens.sql diff --git a/supabase/migrations/20260507000000_drop_youtube_tokens.sql b/supabase/migrations/20260507000000_drop_youtube_tokens.sql new file mode 100644 index 0000000..6dc7eb6 --- /dev/null +++ b/supabase/migrations/20260507000000_drop_youtube_tokens.sql @@ -0,0 +1,9 @@ +-- YouTube auth has fully migrated to Composio (token storage now lives in +-- Composio's connected-account API). The youtube_tokens table is no longer +-- read or written by api/chat. Dropping it; CASCADE cleans up the trigger, +-- indexes, RLS policy, and FK from migrations: +-- 20250601000001_youtube_tokens_consolidated.sql +-- 20250702204149_rename_youtube_tokens_account_id_to_artist_account_id.sql +-- 20250703000000_youtube_tokens_row_level_security.sql + +DROP TABLE IF EXISTS public.youtube_tokens CASCADE;