Skip to content

Commit

Permalink
Fix postgres types
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd committed Jan 30, 2024
1 parent 6af25a9 commit 11f462b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/wrappa/postgres/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ const queryAggregatedDailyTimestampRange = async (
date_trunc('day', ts) AS ts,
CAST(SUM(total_deposited_usd) AS BIGINT) AS total_deposited_usd,
CAST(SUM(total_withdrawn_usd) AS BIGINT) AS total_withdrawn_usd,
CAST(SUM(total_deposit_txs) AS BIGINT) AS total_deposit_txs,
CAST(SUM(total_withdrawal_txs) AS BIGINT) AS total_withdrawal_txs
CAST(SUM(total_deposit_txs) AS INT) AS total_deposit_txs,
CAST(SUM(total_withdrawal_txs) AS INT) AS total_withdrawal_txs
FROM
bridges.hourly_aggregated
WHERE
Expand Down

0 comments on commit 11f462b

Please sign in to comment.