#!/bin/bash # Test query to check if template exists and what's in the table # Run this in your Supabase SQL editor or via psql echo "=== Check if template exists ===" cat << 'SQL' -- Check if template exists SELECT key, name, is_active FROM notification_templates WHERE key = 'auth_email_verification'; -- Check all templates SELECT key, name, is_active FROM notification_templates ORDER BY key; -- Check table structure \d notification_templates; SQL