trading-platform-database-v2/ddl/schemas/portfolio/tables
Adrian Flores Cortes 3fbb1c21e6 [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals
- Added portfolio schema to 01-schemas.sql
- Created enums: risk_profile, goal_status, rebalance_action, allocation_status
- Created tables: portfolios, portfolio_allocations, portfolio_goals
- Created tables: rebalance_history, portfolio_snapshots
- Added triggers for updated_at and goal progress calculations
- Added indexes for performance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 08:20:48 -06:00
..
01-portfolios.sql [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00
02-portfolio_allocations.sql [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00
03-portfolio_goals.sql [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00
04-rebalance_history.sql [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00
05-portfolio_snapshots.sql [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00