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 e0700d90..f1bb5d93 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -480,6 +480,7 @@ CREATE TABLE repos (
day_count day_count NULL,
ticket varchar NULL,
open_repo bool NULL,
+ portfolio portfolio NOT NULL,
cash_account text REFERENCES accounts2(cash_account),
CHECK ((haircut IS NOT NULL AND weighted_amount IS NULL) OR
(haircut IS NULL AND weighted_amount IS NOT NULL)),