Let me check the SQL file and fix any issues.
The SQL looks correct. The database schema fetch also errored which suggests a temporary connection issue. Let me try running the script again with a slightly adjusted version that uses IF NOT EXISTS for policies to avoid conflicts.
Let me try using the Supabase tool directly to run the query.
I found the supabase_apply_migration tool. Let me load it.
Now let me apply the migration using the Supabase MCP tool directly.