Files
geniusrun/backend/internal/store/migrations/0009_backfill_horizon.sql

7 lines
423 B
MySQL
Raw Normal View History

-- Backfill horizon used to be a startup-time env var
-- (GENIUSRUN_BACKFILL_HORIZON_DAYS) with no UI at all -- exactly the kind of
-- "tunable analysis-engine parameter" this profile table exists for.
-- Default matches the old env var's default (3 years) so existing
-- deployments keep their current behavior until the user changes it.
ALTER TABLE profile ADD COLUMN backfill_horizon_days INTEGER NOT NULL DEFAULT 1095;