add CommentsAndWorkNotes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-26 12:15:30 +11:00
parent 63c534869e
commit 0e9591e6fc
4 changed files with 147 additions and 33 deletions

View File

@@ -66,4 +66,11 @@ INSERT into worknotes (
) VALUES(
?, ?, CURRENT_TIMESTAMP
)
RETURNING *;
RETURNING *;
-- name: GetIncidentWorkNotes :many
SELECT * from worknotes
WHERE incident_number = sqlc.arg('incidentNumber');
-- name: ListWorkNotes :many
SELECT * from worknotes;