feat: Allow hide resources (#3977)

This commit is contained in:
Bruno Quaresma
2022-09-09 16:38:00 -03:00
committed by GitHub
parent f6aa025a01
commit 8a94b72c7d
44 changed files with 458 additions and 335 deletions
@@ -19,9 +19,9 @@ SELECT * FROM workspace_resources WHERE created_at > $1;
-- name: InsertWorkspaceResource :one
INSERT INTO
workspace_resources (id, created_at, job_id, transition, type, name)
workspace_resources (id, created_at, job_id, transition, type, name, hide)
VALUES
($1, $2, $3, $4, $5, $6) RETURNING *;
($1, $2, $3, $4, $5, $6, $7) RETURNING *;
-- name: GetWorkspaceResourceMetadataByResourceID :many
SELECT