Skip to content

Commit cd0a357

Browse files
committed
fix: change order of macros selection to updated_at descending
1 parent 2dc751e commit cd0a357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/macro/queries.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SELECT
3232
FROM
3333
macros
3434
ORDER BY
35-
usage_count DESC;
35+
updated_at DESC;
3636

3737
-- name: create
3838
INSERT INTO

0 commit comments

Comments
 (0)