From b812b19b34a424ab7fd2e95c552dc9b104de7709 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sat, 23 Apr 2022 20:11:52 +0000 Subject: [PATCH] Indentation --- postgres/queries/transactions.sql | 8 ++++---- postgres/transactions.sql.go | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/postgres/queries/transactions.sql b/postgres/queries/transactions.sql index aebc7ff..e39e3e2 100644 --- a/postgres/queries/transactions.sql +++ b/postgres/queries/transactions.sql @@ -11,10 +11,10 @@ RETURNING id; -- name: UpdateTransaction :exec UPDATE transactions SET date = $1, - memo = $2, - amount = $3, - payee_id = $4, - category_id = $5 + memo = $2, + amount = $3, + payee_id = $4, + category_id = $5 WHERE id = $6; -- name: SetTransactionReconciled :exec diff --git a/postgres/transactions.sql.go b/postgres/transactions.sql.go index 60fcf1d..f110a70 100644 --- a/postgres/transactions.sql.go +++ b/postgres/transactions.sql.go @@ -294,10 +294,10 @@ func (q *Queries) SetTransactionReconciled(ctx context.Context, id uuid.UUID) er const updateTransaction = `-- name: UpdateTransaction :exec UPDATE transactions SET date = $1, - memo = $2, - amount = $3, - payee_id = $4, - category_id = $5 + memo = $2, + amount = $3, + payee_id = $4, + category_id = $5 WHERE id = $6 `