fix: widen horizon/mode columns in prediction_snapshots to VARCHAR(50)
time_horizon values like 'position_30d_90d (proj:30d)' exceed VARCHAR(20)
This commit is contained in:
@@ -11,10 +11,10 @@ CREATE TABLE IF NOT EXISTS prediction_snapshots (
|
||||
generated_at TIMESTAMPTZ NOT NULL,
|
||||
ticker VARCHAR(20) NOT NULL,
|
||||
"window" VARCHAR(20) NOT NULL,
|
||||
horizon VARCHAR(20) NOT NULL,
|
||||
horizon VARCHAR(50) NOT NULL,
|
||||
direction VARCHAR(20) NOT NULL,
|
||||
action VARCHAR(20) NOT NULL,
|
||||
mode VARCHAR(30) NOT NULL,
|
||||
mode VARCHAR(50) NOT NULL,
|
||||
strength FLOAT NOT NULL,
|
||||
confidence FLOAT NOT NULL,
|
||||
contradiction FLOAT NOT NULL DEFAULT 0.0,
|
||||
|
||||
Reference in New Issue
Block a user