fix sql and getIncident
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
`
|
||||
|
Reference in New Issue
Block a user