mirror of
https://github.com/SyncrowIOT/data.git
synced 2026-10-23 08:47:56 +00:00
update the branch
This commit is contained in:
@@ -45,6 +45,7 @@ WITH device_logs AS (
|
||||
group by 1,2,3
|
||||
)
|
||||
|
||||
|
||||
SELECT
|
||||
device.subspace_id AS subspace_id,
|
||||
device.space_device_uuid AS space_id,
|
||||
@@ -67,3 +68,4 @@ INNER JOIN "space"
|
||||
ON space.uuid = device.space_device_uuid
|
||||
WHERE "device-status-log".code = 'presence_state'
|
||||
GROUP BY 1, 2, 3, 4, 5,6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user