maybe fix comment order?
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-04 00:27:28 +01:00
parent b5c77cf8ca
commit 09d31aabac
+1
View File
@@ -22,6 +22,7 @@ WHERE id = @id;
-- name: SelectComments :many -- name: SelectComments :many
SELECT * FROM story_comment SELECT * FROM story_comment
WHERE (@chapter_id = '' OR chapter_id = @chapter_id) WHERE (@chapter_id = '' OR chapter_id = @chapter_id)
ORDER BY fictional_date, created_date
LIMIT NULLIF(@limit_size::INT, 0); LIMIT NULLIF(@limit_size::INT, 0);
-- name: DeleteComment :exec -- name: DeleteComment :exec