feat: add SQL queries for v2 PG Coordinator (#10572)

re #10528

Adds SQL queries to support Tailnet v2 API in the PG Coordinator
This commit is contained in:
Spike Curtis
2023-11-15 10:13:27 +04:00
committed by GitHub
parent a8ce099638
commit 1516c6636b
8 changed files with 644 additions and 2 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ WHERE
-- workspaces since they are considered soft-deleted.
AND CASE
WHEN @is_dormant :: text != '' THEN
dormant_at IS NOT NULL
dormant_at IS NOT NULL
ELSE
dormant_at IS NULL
END