Skip to content

Commit

Permalink
fix(sql): pool data table name pool_offline_data -> off_chain_pool_data)
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Mar 13, 2024
1 parent c1dcff2 commit 067beff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sql/pools/pools_pool_id_metadata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SELECT (
pod.ticker_name AS "ticker",
pod.json AS "metadata_text"
FROM pool_metadata_ref pmr
LEFT JOIN pool_offline_data pod ON (pmr.hash = pod.hash)
LEFT JOIN off_chain_pool_data pod ON (pmr.hash = pod.hash)
WHERE pmr.id = (
SELECT meta_id
FROM pool_update pu
Expand Down
2 changes: 1 addition & 1 deletion src/sql/txs/txs_hash_pool_updates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ FROM tx
JOIN pool_hash ph ON (ph.id = pu.hash_id)
LEFT JOIN stake_address sa ON (sa.id = pu.reward_addr_id)
LEFT JOIN pool_metadata_ref pmr ON (pmr.id = pu.meta_id)
LEFT JOIN pool_offline_data pod ON (pmr.hash = pod.hash)
LEFT JOIN off_chain_pool_data pod ON (pmr.hash = pod.hash)
WHERE encode(tx.hash, 'hex') = $1
ORDER BY pu.cert_index ASC

0 comments on commit 067beff

Please sign in to comment.