From a056c5e6f3940289977442df9c44a1accbdd2274 Mon Sep 17 00:00:00 2001 From: Peter Dudfield <34686298+peterdudfield@users.noreply.github.com> Date: Thu, 30 May 2024 21:01:52 +0100 Subject: [PATCH] update (#280) --- nowcasting_datamodel/save/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nowcasting_datamodel/save/update.py b/nowcasting_datamodel/save/update.py index 8fc3c1a6..1083e281 100644 --- a/nowcasting_datamodel/save/update.py +++ b/nowcasting_datamodel/save/update.py @@ -120,7 +120,7 @@ def update_forecast_latest( forecast_values.append(forecast_value_latest.__dict__) # update input_data_last_updated - forecast_historic.input_data_last_updated = forecast.input_data_last_updated + forecast_historic.input_data_last_updated_id = forecast.input_data_last_updated_id # upsert forecast values upsert(session=session, model=ForecastValueLatestSQL, rows=forecast_values)