Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtime sensor nodes can only have one sensor system #3

Open
caparker opened this issue Sep 27, 2022 · 0 comments
Open

Realtime sensor nodes can only have one sensor system #3

caparker opened this issue Sep 27, 2022 · 0 comments

Comments

@caparker
Copy link
Collaborator

Here is the statement that matches sensor systems

UPDATE tempfetchdata_nodes t
SET sensor_systems_id = ss.sensor_systems_id
FROM sensor_systems ss
WHERE t.sensor_nodes_id = ss.sensor_nodes_id;

Which means there is a one to one relationship with the sensor nodes.

This may be by design but will cause problems if we ever allow someone to add a system to a node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant