We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b568757 commit 5a50ffbCopy full SHA for 5a50ffb
src/server/tasks/queue-autosend-initials.ts
@@ -49,7 +49,7 @@ const queueAutoSendInitials: Task = async (payload: Payload, helpers) => {
49
-- and graphile_worker.jobs.key = cc.id::text
50
-- )
51
-- ordering by campaign id and cell should be fastest since theres a compound key on them
52
- order by assignment_id nulls last, cc.campaign_id, cc.cell asc
+ order by cc.campaign_id asc, assignment_id nulls first, cc.cell asc
53
limit $1
54
),
55
assignments_upserted as (
0 commit comments