-- ============================================================================
-- OrbiQuant IA - Trading Platform
-- Schema: auth
-- File: 00-extensions.sql
-- Description: PostgreSQL extensions required for authentication schema
-- ============================================================================

-- UUID generation extension
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

-- Cryptographic functions for password hashing and token generation
CREATE EXTENSION IF NOT EXISTS "pgcrypto";

-- Network address types and functions
CREATE EXTENSION IF NOT EXISTS "citext";

COMMENT ON EXTENSION "uuid-ossp" IS 'UUID generation functions';
COMMENT ON EXTENSION "pgcrypto" IS 'Cryptographic functions for secure password and token handling';
COMMENT ON EXTENSION "citext" IS 'Case-insensitive text type for email addresses';
