-- Phase A: Create paliad schema.
-- All Paliad application data lives here (separate from Supabase's auth schema).

CREATE SCHEMA IF NOT EXISTS paliad;

-- gen_random_uuid() comes from pgcrypto; Supabase typically has it already,
-- but create it defensively so bare-Postgres dev works too.
CREATE EXTENSION IF NOT EXISTS pgcrypto;
