CodeForAfrica / sensors.AFRICA-api

The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/
https://api.sensors.africa/
18 stars 7 forks source link

[HOTFIX] Command cache_lastactive_nodes_data #40

Closed karimkawambwa closed 5 years ago

karimkawambwa commented 5 years ago

Description

Fix error duplicate key value violates unique constraint "sensorsafrica_lastactivenodes_node_id_location_id_de7d6ca3_uniq". The several filters were too restrictive and as a result the database does not find such row.

Fixes # (issue)

Type of change

Checklist: