mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
Merge pull request #366 from SyncrowIOT/DATA-param-removal
removed param from first CTE
This commit is contained in:
@ -30,7 +30,6 @@ device_logs AS (
|
||||
WHERE product.cat_name = 'hps'
|
||||
AND "device-status-log".code = 'presence_state'
|
||||
AND device.uuid::text = P.device_id
|
||||
AND (P.event_date IS NULL OR "device-status-log".event_time::date = P.event_date)
|
||||
),
|
||||
|
||||
presence_detection AS (
|
||||
|
Reference in New Issue
Block a user