Sybren A. Stüvel
4ab853da40
Manager: Convert JobHasTasksInStatus and CountTasksOfJobInStatus to sqlc
...
No functional changes.
2024-05-28 16:07:21 +02:00
Sybren A. Stüvel
1e327c510e
Manager: Convert FetchTasksOfWorkerInStatusOfJob to sqlc
...
No functional changes.
2024-05-28 14:46:43 +02:00
Sybren A. Stüvel
950d661377
Manager: convert TaskAssignToWorker and FetchTasksOfWorkerInStatus to sqlc
...
No functional changes.
2024-05-28 14:46:43 +02:00
Sybren A. Stüvel
dcca9aef03
Manager: convert db.SaveTaskActivity() to SQLC
...
No functional changes.
2024-05-28 14:46:42 +02:00
Sybren A. Stüvel
a9be729e59
Manager: Convert db.SaveTaskStatus() to SQLC
...
No functional changes.
2024-05-28 14:46:42 +02:00
Sybren A. Stüvel
a54972ddd0
Manager: Convert db.SaveTask() to SQLC
...
No functional changes.
2024-05-28 14:46:42 +02:00
Sybren A. Stüvel
f632f2dbb6
SQLC: upgrade to 1.26.0
...
Doesn't change anything function in the generated code, just the version
numbers & handling of empty comments in the query file.
2024-05-28 14:46:42 +02:00
Sybren A. Stüvel
c1cdff567e
Manager: Convert FetchTask to sqlc
...
This is a bit more work than other queries, as it also breaks apart the
fetching of the job and the worker into separate ones. In other words,
internally the persistence layer API changes.
2024-05-28 14:46:42 +02:00
Sybren A. Stüvel
7b72d0ca43
Refactor: move jobs-related queries to queries_jobs.sql
...
This makes it easier to later also create `query_workesr.sql`,
`query_meta.sql` etc. so that the sqlc-generated code can follow the
same subdivision as the persistence service code itself.
No functional changes.
2024-03-03 23:27:55 +01:00