forked from mtusi2026/mtusi2026lab5
feat(worker): prepare replay queries and audit schema
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- name: CreateAttachmentReplay :exec
|
||||
INSERT INTO attachment_replays (
|
||||
attachment_id,
|
||||
attempt,
|
||||
previous_error_code,
|
||||
operator,
|
||||
reason
|
||||
) VALUES (
|
||||
sqlc.arg(attachment_id),
|
||||
sqlc.arg(attempt),
|
||||
sqlc.narg(previous_error_code),
|
||||
sqlc.arg(operator),
|
||||
sqlc.arg(reason)
|
||||
);
|
||||
Reference in New Issue
Block a user