continuation
This commit is contained in:
parent
32e43c9243
commit
879e9b4228
42 changed files with 2607 additions and 1306 deletions
4
database/postgres/init/09-backtest-run-contract.sql
Normal file
4
database/postgres/init/09-backtest-run-contract.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
-- Additive migration. Preserve existing history while new runs store their exact configuration.
|
||||
ALTER TABLE backtest_results ADD COLUMN IF NOT EXISTS configuration JSONB;
|
||||
ALTER TABLE backtest_results ADD COLUMN IF NOT EXISTS engine TEXT;
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS idx_backtest_results_one_per_run ON backtest_results(run_id);
|
||||
Loading…
Add table
Add a link
Reference in a new issue