trading-platform-database-v2/ddl
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
..
schemas [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00
00-extensions.sql feat: Initial commit - Database schemas and scripts 2026-01-18 04:30:23 -06:00
01-schemas.sql [OQI-008] feat: Add portfolio DDL schema with tables for portfolios, allocations, goals 2026-01-25 08:20:48 -06:00