fix: always show a newly created workspace at the top of the list (#6984)

Fixes #5795.
This commit is contained in:
Kyle Carberry
2023-04-04 08:24:04 -05:00
committed by GitHub
parent 46f42ea9ac
commit c12bc39821
6 changed files with 14 additions and 9 deletions
+3 -2
View File
@@ -270,10 +270,11 @@ INSERT INTO
template_id,
name,
autostart_schedule,
ttl
ttl,
last_used_at
)
VALUES
($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING *;
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING *;
-- name: UpdateWorkspaceDeletedByID :exec
UPDATE