API health
D1 binding and schema diagnostic
Calls GET /api/trainer-db-health — no auth required. Use after deploy to confirm the Cloudflare D1 binding and expected tables are present.
ImportantCloudflare only
This diagnostic uses Pages Functions + D1. The Vercel mirror does not expose the same binding.
…