mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: always show a newly created workspace at the top of the list (#6984)
Fixes #5795.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user