Deleting a source
Note that these operations will take a while because of cascading.
DELETE from connection where source_id = <ID>; -- only required for <=5.3.0 DELETE from source where id = <ID>; -- Clean up timeseries DELETE FROM timeseries_edge WHERE NOT EXISTS (SELECT * FROM edge WHERE edge.id = timeseries_edge.edge_id);