7 lines
422 B
MySQL
7 lines
422 B
MySQL
|
|
-- Backfill horizon used to be a startup-time env var
|
||
|
|
-- (SMARTRUN_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;
|