feat: Add icon to templates (#3561)

This commit is contained in:
Bruno Quaresma
2022-08-19 13:17:35 +00:00
committed by GitHub
parent 57f3410009
commit 80f042f01b
17 changed files with 66 additions and 12 deletions
+5 -3
View File
@@ -67,10 +67,11 @@ INSERT INTO
description,
max_ttl,
min_autostart_interval,
created_by
created_by,
icon
)
VALUES
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING *;
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING *;
-- name: UpdateTemplateActiveVersionByID :exec
UPDATE
@@ -98,7 +99,8 @@ SET
description = $3,
max_ttl = $4,
min_autostart_interval = $5,
name = $6
name = $6,
icon = $7
WHERE
id = $1
RETURNING