Fix flapping_history NULL rows

This commit is contained in:
Noah Hilverling 2019-10-31 11:56:19 +01:00
parent 8e9469018b
commit f7ae239d03

View file

@ -58,7 +58,7 @@ func InsertNullRows(super *supervisor.Supervisor) {
execFunc(
"flapping_history",
"REPLACE INTO flapping_history(id, environment_id, object_type, host_id, service_id, event_time, event_type, percent_state_change, flapping_threshold_low, flapping_threshold_high) VALUES (?,?,?,?,?,?,?,?,?,?)",
emptyUUID[:], super.EnvId, "host", nil, nil, 0, "start", 0, 0, 0,
emptyUUID[:], super.EnvId, "host", nil, nil, 0, "flapping_start", 0, 0, 0,
)
// notification_history