From 70a9ffc979dd19c02b792250a68982677981b0a1 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Thu, 30 May 2024 18:07:39 +0100 Subject: [PATCH] update --- 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)