DDL schemas for Trading Platform: - User management - Authentication - Payments - Education - ML predictions - Trading data Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
829 B
SQL
20 lines
829 B
SQL
-- ============================================================================
|
|
-- 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';
|