Skip to content

Commit

Permalink
Refactor SQL query to explicitly mark failure reason and creation fee…
Browse files Browse the repository at this point in the history
… in user_commands as nullable
  • Loading branch information
joaosreis committed Oct 2, 2024
1 parent bec33fd commit bff2b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/user_commands.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ SELECT
pk_source.value AS source,
pk_receiver.value AS receiver,
buc.status AS "status: TransactionStatus",
buc.failure_reason,
ac.creation_fee
buc.failure_reason AS "failure_reason?",
ac.creation_fee AS "creation_fee?"
FROM
user_commands AS u
INNER JOIN blocks_user_commands AS buc ON u.id=buc.user_command_id
Expand Down

0 comments on commit bff2b2a

Please sign in to comment.