aboutsummaryrefslogtreecommitdiffstats
path: root/sql/dawn.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/dawn.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 4e4824e7..40e75e36 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -1922,7 +1922,8 @@ CREATE TABLE strategy_im(
strategy strategy NOT NULL,
amount float NOT NULL,
currency currency NOT NULL,
- PRIMARY KEY (date, strategy, broker)
+ fund fund NOT NULL,
+ PRIMARY KEY (date, strategy, broker, fund)
)
CREATE TYPE cash_rate AS ENUM('FED_FUND', '1M_LIBOR', '3M_LIBOR');