Documentation Index
Fetch the complete documentation index at: https://dhanurgo.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Database Schema
HostMetrics uses Supabase (PostgreSQL) with 25+ tables organized into four domains.Core Tables
Investor Tables
Toll Tables
Billing Tables
Multi-Tenant Isolation
Every table includes auser_id column with Row Level Security (RLS) policies:
getCurrentUserId() in src/lib/db/_client.ts, which extracts the authenticated user’s ID from the Supabase session.