chore: Remove unused SQL functions (#5857)

* chore: Remove unused sql functions
- GetProvisionerDaemonByID
- UpdateProvisionerDaemonByID
- GetUserGroups
- GetWorkspaceCountByUserID
- GetLatestAgentStat
This commit is contained in:
Steven Masley
2023-01-25 11:30:12 -06:00
committed by GitHub
parent b678309fc9
commit 08412fd1af
7 changed files with 2 additions and 253 deletions

View File

@ -1,11 +1,3 @@
-- name: GetProvisionerDaemonByID :one
SELECT
*
FROM
provisioner_daemons
WHERE
id = $1;
-- name: GetProvisionerDaemons :many
SELECT
*
@ -23,12 +15,3 @@ INSERT INTO
)
VALUES
($1, $2, $3, $4, $5) RETURNING *;
-- name: UpdateProvisionerDaemonByID :exec
UPDATE
provisioner_daemons
SET
updated_at = $2,
provisioners = $3
WHERE
id = $1;