5b7160fe44
Job Collector * createstructure * mostupdatevalidation * repocollectorupdate * updateoutline * updatevalidation * scriptupdate * cleanupdockerignore * update * collectorupdateapi
5 lines
161 B
SQL
5 lines
161 B
SQL
-- name: GetJob :one
|
|
SELECT id, clientId, canSync FROM jobs WHERE id = $1 LIMIT 1;
|
|
|
|
-- name: CreateJob :one
|
|
INSERT INTO jobs (clientId) VALUES ($1) RETURNING id; |