fix: quote reserved keyword 'window' in prediction_snapshots SQL

This commit is contained in:
Celes Renata
2026-05-01 03:40:48 +00:00
parent 32d290bea7
commit 76f6bd5677
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ CREATE TABLE IF NOT EXISTS prediction_snapshots (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
generated_at TIMESTAMPTZ NOT NULL,
ticker VARCHAR(20) NOT NULL,
window VARCHAR(20) NOT NULL,
"window" VARCHAR(20) NOT NULL,
horizon VARCHAR(20) NOT NULL,
direction VARCHAR(20) NOT NULL,
action VARCHAR(20) NOT NULL,