Invalid query: Incorrect integer value: '' for column 'yesterday_value' at row 1