Skip to content

Commit

Permalink
Fix sorting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
semanser committed Mar 28, 2024
1 parent 4bd9039 commit 13909b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/database/tasks.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion backend/models/tasks.sql
Expand Up @@ -14,7 +14,8 @@ RETURNING *;

-- name: ReadTasksByFlowId :many
SELECT * FROM tasks
WHERE flow_id = $1;
WHERE flow_id = $1
ORDER BY created_at ASC;

-- name: UpdateTaskStatus :one
UPDATE tasks
Expand Down

0 comments on commit 13909b8

Please sign in to comment.