fix sql and getIncident
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-26 10:11:05 +11:00
parent c1fdc1f9a6
commit 63c534869e
4 changed files with 52 additions and 29 deletions

View File

@@ -132,9 +132,9 @@ func (q *Queries) CreateIncoming(ctx context.Context, arg CreateIncomingParams)
const createWorkNote = `-- name: CreateWorkNote :one
INSERT into worknotes (
"incident_number", "note"
"incident_number", "note", "created_at"
) VALUES(
?, ?
?, ?, CURRENT_TIMESTAMP
)
RETURNING id, incident_number, note, created_at
`