feat: provide endpoint to lock/unlock workspace (#8239)
This commit is contained in:
1 parent
72e83df578
commit
749307ef08
31 files changed
+577
-51
No files matched your search
@@ -453,3 +453,11 @@ WHERE
|
||||
workspace_builds.transition = 'start'::workspace_transition
|
||||
)
|
||||
) AND workspaces.deleted = 'false';
|
||||
|
||||
-- name: UpdateWorkspaceLockedAt :exec
|
||||
UPDATE
|
||||
workspaces
|
||||
SET
|
||||
locked_at = $2
|
||||
WHERE
|
||||
id = $1;
|
||||
Reference in new issue
Block a user