Skip to content

Commit

Permalink
fix(data): add missing data attributes query PE-2810
Browse files Browse the repository at this point in the history
Whoops! I neglected to add this in an earlier commit.
  • Loading branch information
djwhitt committed Jan 11, 2023
1 parent 1967ab0 commit d68e6cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/database/sql/core/data-attributes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- selectDataAttributes
SELECT *
FROM (
SELECT data_size, content_type, true AS stable
FROM stable_transactions
WHERE id = @id
UNION
SELECT data_size, content_type, true AS stable
FROM new_transactions
WHERE id = @id
)
LIMIT 1

0 comments on commit d68e6cf

Please sign in to comment.