aboutsummaryrefslogtreecommitdiffstats
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/dawn.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql
index 38459245..6a6ace7b 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -2376,7 +2376,8 @@ CREATE TABLE curve_risk(
strategy cds_strat,
"VaR" float,
currency currency,
- PRIMARY KEY (date, strategy))
+ fund fund,
+ PRIMARY KEY (date, strategy, fund))
CREATE OR REPLACE VIEW tranche_pnl AS
WITH temp AS (