chore: alphabetize template list (#3363)

This commit is contained in:
Ben Potter
2022-08-05 13:03:22 -05:00
committed by GitHub
parent 854bb5dbeb
commit f14efd1a2b
4 changed files with 16 additions and 10 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ WHERE
id = ANY(@ids)
ELSE true
END
ORDER BY (created_at, id) ASC
ORDER BY (name, id) ASC
;
-- name: GetTemplateByOrganizationAndName :one
@@ -51,7 +51,7 @@ LIMIT
-- name: GetTemplates :many
SELECT * FROM templates
ORDER BY (created_at, id) ASC
ORDER BY (name, id) ASC
;
-- name: InsertTemplate :one