Skip to content

Commit 5fe5ac5

Browse files
committed
fix: change order of macros selection to usage_count descending
1 parent 9755775 commit 5fe5ac5

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
@@ -30,7 +30,7 @@ SELECT
3030
FROM
3131
macros
3232
ORDER BY
33-
updated_at DESC;
33+
usage_count DESC;
3434

3535
-- name: create
3636
INSERT INTO

0 commit comments

Comments
 (0)