continuation

This commit is contained in:
Boki 2026-10-20 16:57:59 -04:00
parent 32e43c9243
commit 879e9b4228
42 changed files with 2607 additions and 1306 deletions

View 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);