From 4a8daf43e4c0142d0a71a9f26ca27ba100eb4e83 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 8 May 2025 10:33:15 -0700 Subject: [PATCH] more query fixes --- controller/CV2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controller/CV2.cpp b/controller/CV2.cpp index f7382b57a..ba12cf596 100644 --- a/controller/CV2.cpp +++ b/controller/CV2.cpp @@ -493,9 +493,9 @@ void CV2::initializeMembers() sprintf(qbuf, "SELECT nm.device_id, nm.network_id, nm.authorized, nm.active_bridge, nm.ip_assignments, nm.no_auto_assign_ips, " "nm.sso_exempt, (EXTRACT(EPOCH FROM nm.authentication_expiry_time AT TIME ZONE 'UTC')*1000)::bigint, " - "EXTRACT(EPOCH FROM nm.creation_time AT TIME ZONE 'UTC')*1000)::bigint, nm.identity, nm.last_authorized_credential, " - "EXTRACT(EPOCH FROM nm.last_authorized_time AT TIME ZONE 'UTC')*1000)::bigint, " - "EXTRACT(EPOCH FROM nm.last_deauthorized_time AT TIME ZONE 'UTC')*1000)::bigint, " + "(EXTRACT(EPOCH FROM nm.creation_time AT TIME ZONE 'UTC')*1000)::bigint, nm.identity, nm.last_authorized_credential, " + "(EXTRACT(EPOCH FROM nm.last_authorized_time AT TIME ZONE 'UTC')*1000)::bigint, " + "(EXTRACT(EPOCH FROM nm.last_deauthorized_time AT TIME ZONE 'UTC')*1000)::bigint, " "nm.remote_trace_level, nm.remote_trace_target, nm.revision, nm.capabilities, nm.tags " "FROM network_memberships_ctl nm " "INNER JOIN networks_ctl n "