aboutsummaryrefslogtreecommitdiffstats
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/dawn.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql
index 551b4b55..d33c737f 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -590,6 +590,7 @@ CREATE TABLE fx_swaps (
lastupdate timestamp NULL DEFAULT now(),
"portfolio" portfolio NOT NULL,
folder spot_strat NOT NULL,
+ cash_account text NOT NULL REFERENCES accounts2(cash_account),
cp_code varchar(12) NOT NULL REFERENCES counterparties(code) ON UPDATE CASCADE,
trade_date date NOT NULL,
near_rate float8 NOT NULL,