Grey Haven Data Modeling Standards Design database schemas for Grey Haven Studio's multi-tenant SaaS applications using SQLModel (FastAPI) and Drizzle ORM (TanStack Start) with PostgreSQL and RLS. Multi-Tenant Principles CRITICAL: Every Table Requires tenant id Naming Conventions ALWAYS use snake case (never camelCase): Standard Fields (Required on All Tables) Core Tables 1. Tenants Table (Root) 2. Users Table (With Tenant Isolation) Relationships One-to-Many Many-to-Many RLS Policies Enable RLS on All Tables Indexes Required Indexes Migrations Drizzle Kit Alembic (SQLModel) Supporting Docume…