Fix issue with not selecting a needed column

Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
Olivier Wilkinson (reivilibre) 2019-08-13 15:08:32 +01:00
parent 5b54411213
commit 20ec9698ac

View file

@ -808,7 +808,8 @@ class StatsStore(StateDeltasStore):
txn,
table + "_current",
{id_col: stats_id},
retcols=selected_columns + ["start_ts", "end_ts"],
retcols=selected_columns
+ ["start_ts", "end_ts", "completed_delta_stream_id"],
allow_none=True,
)