-- =====================================================
-- PORTFOLIO SCHEMA - ENUMS
-- =====================================================
-- Description: Enumerations for portfolio management
-- Schema: portfolio
-- Author: Database Agent
-- Date: 2026-01-25
-- =====================================================

-- Risk profile (shared with investment schema)
CREATE TYPE portfolio.risk_profile AS ENUM (
  'conservative',
  'moderate',
  'aggressive'
);

-- Goal status
CREATE TYPE portfolio.goal_status AS ENUM (
  'active',
  'completed',
  'abandoned'
);

-- Rebalance action
CREATE TYPE portfolio.rebalance_action AS ENUM (
  'buy',
  'sell',
  'hold'
);

-- Allocation status
CREATE TYPE portfolio.allocation_status AS ENUM (
  'active',
  'inactive',
  'rebalancing'
);
