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 9be60f2b..295e4d08 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -3145,4 +3145,5 @@ CREATE TABLE public.strat_cash_realloc (
"currency" public."currency" NOT NULL,
"fund" public."fund" NOT NULL DEFAULT 'BOWDST'::fund,
cash_account text NOT NULL,
+ CONSTRAINT strat_cash_realloc_un UNIQUE (folder, trade_date, amount, currency, fund, cash_account)
); \ No newline at end of file